Package | Description |
---|---|
fr.aumgn.bukkitutils.gson |
Modifier and Type | Method and Description |
---|---|
<T> T |
GsonLoader.load(File file,
Type klass)
Loads the given resource.
|
<T> T |
GsonLoader.load(File file,
TypeToken<T> typeToken)
Loads the given resource.
|
<T> T |
GsonLoader.loadOrCreate(String filename,
Class<T> klass)
Loads if exists or creates the given resource.
|
<T> T |
GsonLoader.loadOrCreate(String filename,
TypeToken<T> typeToken)
Loads if exists or creates the given resource.
|
void |
GsonLoader.write(String filename,
Object instance)
Writes the given resource.
|
Copyright © 2012. All Rights Reserved.