public abstract class FolderBasedStorage<K,T> extends java.lang.Object implements DataStorage<K,T>
限定符和类型 | 字段和说明 |
---|---|
protected java.io.File |
dataFolder |
protected @NotNull java.lang.String |
folderPath |
构造器和说明 |
---|
FolderBasedStorage(@NotNull java.lang.String folderPath) |
限定符和类型 | 方法和说明 |
---|---|
java.io.File |
getDataFolder() |
protected @NotNull java.io.File |
initializeFolder(@NotNull java.io.File parentFolder) |
protected @NotNull java.util.List<java.io.File> |
listFiles() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, loadData, saveData, shutdown
@NotNull protected final @NotNull java.lang.String folderPath
protected java.io.File dataFolder
@NotNull protected @NotNull java.io.File initializeFolder(@NotNull @NotNull java.io.File parentFolder) throws java.lang.Exception
java.lang.Exception
@NotNull protected @NotNull java.util.List<java.io.File> listFiles()
public java.io.File getDataFolder()
Copyright © 2024. All rights reserved.