|
abstract void | parse (JsonObject data) |
void | onEnd () |
/**
Definition at line 50 of file GsonParser.java.
◆ GsonParser() [1/2]
com.osroyale.util.parser.GsonParser.GsonParser |
( |
String | path | ) |
|
|
inline |
Creates a new GsonParser
.
- Parameters
-
path | The specified path of the json file to parse. |
Definition at line 62 of file GsonParser.java.
◆ GsonParser() [2/2]
com.osroyale.util.parser.GsonParser.GsonParser |
( |
String | path, |
|
|
boolean | log ) |
|
inline |
Creates a new GsonParser
.
- Parameters
-
path | The specified path of the json file to parse. |
log | The flag that denotes to log messages. |
Definition at line 72 of file GsonParser.java.
◆ deserialize()
final void com.osroyale.util.parser.GsonParser.deserialize |
( |
| ) |
|
|
inline |
◆ onEnd()
void com.osroyale.util.parser.GsonParser.onEnd |
( |
| ) |
|
|
inlineprotected |
◆ parse()
abstract void com.osroyale.util.parser.GsonParser.parse |
( |
JsonObject | data | ) |
|
|
abstractprotected |
The method allows a user to modify the data as its being parsed.
- Parameters
-
data | The JsonObject that contains all serialized information. |
Reimplemented in com.osroyale.util.parser.impl.CombatProjectileParser, com.osroyale.util.parser.impl.GlobalObjectParser, com.osroyale.util.parser.impl.NpcDropParser, com.osroyale.util.parser.impl.NpcForceChatParser, com.osroyale.util.parser.impl.NpcSpawnParser, com.osroyale.util.parser.impl.ObjectRemovalParser, com.osroyale.util.parser.impl.PacketSizeParser, com.osroyale.util.parser.impl.StoreParser, com.osroyale.util.parser.old.EquipmentDefinitionParser, com.osroyale.util.parser.old.EquipmentParser, com.osroyale.util.parser.old.ItemDefinitionParser, and com.osroyale.util.parser.old.WeaponDefinitionParser.
◆ builder
transient Gson com.osroyale.util.parser.GsonParser.builder |
|
protected |
The documentation for this class was generated from the following file: