Package scrapper.readers.items
Class Unspoiled_Node
java.lang.Object
scrapper.readers.items.baseNode.BaseItem
scrapper.readers.items.Regular_Node
scrapper.readers.items.Unspoiled_Node
- All Implemented Interfaces:
Item
- See Also:
-
Constructor Summary
ConstructorDescriptionUnspoiled_Node
(String[] arr) Used when file is already formatted.Unspoiled_Node
(String item, String location, String cords, String info, int level, String time, int slot, int star) Default constructor for Unspoiled.Unspoiled_Node
(String item, String location, String cords, String info, String time, int slot, int star) Constructor used for ARR nodes -
Method Summary
Methods inherited from class scrapper.readers.items.Regular_Node
getLevel
-
Constructor Details
-
Unspoiled_Node
public Unspoiled_Node(String item, String location, String cords, String info, int level, String time, int slot, int star) Default constructor for Unspoiled. If no level is found, use alternate constructor -
Unspoiled_Node
public Unspoiled_Node(String item, String location, String cords, String info, String time, int slot, int star) Constructor used for ARR nodes -
Unspoiled_Node
Used when file is already formatted.- Parameters:
arr
- array to input instead of manual input.
-
-
Method Details
-
toString
- Overrides:
toString
in classRegular_Node
- Returns:
- Output format as follows after standard items: level,type
-
toLinkedHashmap
- Specified by:
toLinkedHashmap
in interfaceItem
- Overrides:
toLinkedHashmap
in classRegular_Node
- Returns:
- ItemType in LinkedHashmap form. Keys represent what the value is. For example, key = level, value = 5.
-