Class NBTFile
- java.lang.Object
-
- com.massivecraft.factions.zcore.nbtapi.NBTCompound
-
- com.massivecraft.factions.zcore.nbtapi.NBTFile
-
public class NBTFile extends NBTCompound
-
-
Constructor Summary
Constructors Constructor Description NBTFile(java.io.File file)
-
Method Summary
Modifier and Type Method Description protected java.lang.ObjectgetCompound()java.io.FilegetFile()voidsave()protected voidsetCompound(java.lang.Object compound)-
Methods inherited from class com.massivecraft.factions.zcore.nbtapi.NBTCompound
addCompound, asNBTString, getBoolean, getByte, getByteArray, getCompound, getContent, getDouble, getFloat, getIntArray, getInteger, getKeys, getList, getLong, getName, getObject, getParent, getShort, getString, getType, hasKey, mergeCompound, removeKey, set, setBoolean, setByte, setByteArray, setDouble, setFloat, setIntArray, setInteger, setLong, setObject, setShort, setString, toString, toString
-
-
-
-
Method Detail
-
save
public void save() throws java.io.IOException- Throws:
java.io.IOException
-
getFile
public java.io.File getFile()
-
getCompound
protected java.lang.Object getCompound()
- Overrides:
getCompoundin classNBTCompound
-
setCompound
protected void setCompound(java.lang.Object compound)
- Overrides:
setCompoundin classNBTCompound
-
-