クラス NbtFile
java.lang.Object
io.github.takenoko4096.nbt.NbtFile
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidcreate()voiddelete()voideditAsCompressed(Function<MojangsonCompound, MojangsonCompound> function) voideditAsRaw(Function<MojangsonCompound, MojangsonCompound> function) voideditAuto(Function<MojangsonCompound, MojangsonCompound> function) booleanexists()getFile()longgetSize()booleanreadAuto()voidwriteAsCompressed(MojangsonCompound compound) voidwriteAsRaw(MojangsonCompound compound)
-
コンストラクタの詳細
-
NbtFile
-
NbtFile
-
NbtFile
-
-
メソッドの詳細
-
getFile
-
exists
public boolean exists() -
create
-
delete
-
getSize
-
readAsRaw
- 例外:
NbtReadException
-
writeAsRaw
-
editAsRaw
public void editAsRaw(Function<MojangsonCompound, MojangsonCompound> function) throws NbtReadException, NbtWriteException -
readAsCompressed
- 例外:
NbtReadException
-
writeAsCompressed
-
editAsCompressed
public void editAsCompressed(Function<MojangsonCompound, MojangsonCompound> function) throws NbtReadException, NbtWriteException -
isCompressed
- 例外:
NbtReadException
-
readAuto
- 例外:
NbtReadException
-
editAuto
public void editAuto(Function<MojangsonCompound, MojangsonCompound> function) throws NbtReadException, NbtWriteException
-