Package zombie
Class ZomboidFileSystem
java.lang.Object
zombie.ZomboidFileSystem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleandeleteFile(String string) static booleanensureFolderExists(File file) static booleanensureFolderExists(String string) getAbsolutePath(String string) voidgetAllModFolders(List list) Object[]getAllPathsContaining(String string) Object[]getAllPathsContaining(String string, String string2) getAnimName(URI uRI, File file) getCacheDirSub(String string) getCanonicalFile(File file) getCanonicalFile(File file, String string) getCanonicalFile(String string) getCanonicalPath(File file) getCanonicalPath(String string) getCanonicalURI(String string) getFileInCurrentSave(String string) getFileInCurrentSave(String string, String string2) getFileInCurrentSave(String string, String string2, String string3) getFileNameInCurrentSave(String string) getFileNameInCurrentSave(String string, String string2) getFileNameInCurrentSave(String string, String string2, String string3) getFilePathFromGuid(String string) getGuidFromFilePath(String string) voidgetInstalledItemModsFolders(ArrayList arrayList) getLocalWorkDirSub(String string) getMediaFile(String string) getMediaPath(String string) getMessagingDirSub(String string) getModInfoForDir(String string) getRelativeFile(File file) getRelativeFile(String string) getRelativeFile(URI uRI, File file) getRelativeFile(URI uRI, String string) getSaveDirSub(String string) getScreenshotDirSub(String string) voidgetStagedItemModsFolders(ArrayList arrayList) getWorkshopItemMods(long long1) voidinit()booleanisValidFilePathGuid(String string) static File[]listAllDirectories(File file, FileFilter fileFilter, boolean boolean1) static File[]listAllDirectories(String string, FileFilter fileFilter, boolean boolean1) static File[]listAllFiles(File file, FileFilter fileFilter, boolean boolean1) static File[]listAllFiles(String string, FileFilter fileFilter, boolean boolean1) voidvoidvoidvoidvoidloadModsAux(ArrayList arrayList, ArrayList arrayList2) voidvoidnormalizeFolderPath(String string) static StringprocessFilePath(String string, char char1) voidReset()voidresetDefaultModsForNewRelease(String string) voidString[]resolveAllDirectories(String string, FileFilter fileFilter, boolean boolean1) String[]resolveAllFiles(String string, FileFilter fileFilter, boolean boolean1) resolveFileOrGUID(String string) resolveRelativePath(String string, String string2) voidvoidsearchFolders(File file) searchForModInfo(File file, String string, ArrayList arrayList) voidsetCacheDir(String string) voidsetModFoldersOrder(String string) booleantryDeleteFile(String string) voidupdate()voidwalkGameAndModFiles(String string, boolean boolean1, ZomboidFileSystem.IWalkFilesVisitor iWalkFilesVisitor)
-
Field Details
-
instance
-
ActiveFileMap
-
base
-
baseURI
-
IgnoreActiveFileMap
-
-
Method Details
-
init
- Throws:
IOException
-
getCanonicalFile
-
getGameModeCacheDir
-
getCurrentSaveDir
-
getFileNameInCurrentSave
-
getFileNameInCurrentSave
-
getFileNameInCurrentSave
-
getFileInCurrentSave
-
getFileInCurrentSave
-
getFileInCurrentSave
-
getSaveDir
-
getSaveDirSub
-
getScreenshotDir
-
getScreenshotDirSub
-
setCacheDir
-
getCacheDir
-
getCacheDirSub
-
getMessagingDir
-
getMessagingDirSub
-
getMediaRootFile
-
getMediaRootPath
-
getMediaFile
-
getMediaPath
-
getAbsoluteWorkDir
-
getLocalWorkDir
-
getLocalWorkDirSub
-
getAnimSetsPath
-
getActionGroupsPath
-
ensureFolderExists
-
ensureFolderExists
-
searchFolders
-
getAllPathsContaining
-
getAllPathsContaining
-
getString
-
getAbsolutePath
-
Reset
public void Reset() -
getCanonicalFile
-
getCanonicalFile
-
getCanonicalPath
-
getCanonicalPath
-
getCanonicalURI
-
resetModFolders
public void resetModFolders() -
getInstalledItemModsFolders
-
getStagedItemModsFolders
-
setModFoldersOrder
-
getAllModFolders
-
getWorkshopItemMods
-
searchForModInfo
-
loadMod
-
loadMods
-
loadModsAux
-
loadMods
-
getModIDs
-
getModDir
-
getModInfoForDir
-
getRelativeFile
-
getRelativeFile
-
getRelativeFile
-
getRelativeFile
-
getAnimName
-
resolveRelativePath
-
saveModsFile
public void saveModsFile() -
loadModPackFiles
public void loadModPackFiles() -
loadModTileDefs
public void loadModTileDefs() -
loadModTileDefPropertyStrings
public void loadModTileDefPropertyStrings() -
loadFileGuidTable
public void loadFileGuidTable() -
getFileGuidTable
-
getFilePathFromGuid
-
getGuidFromFilePath
-
resolveFileOrGUID
-
isValidFilePathGuid
-
listAllDirectories
-
listAllDirectories
-
listAllFiles
-
listAllFiles
-
walkGameAndModFiles
public void walkGameAndModFiles(String string, boolean boolean1, ZomboidFileSystem.IWalkFilesVisitor iWalkFilesVisitor) -
resolveAllDirectories
-
resolveAllFiles
-
normalizeFolderPath
-
processFilePath
-
tryDeleteFile
-
deleteFile
- Throws:
IOException
-
update
public void update() -
cleanMultiplayerSaves
public void cleanMultiplayerSaves() -
resetDefaultModsForNewRelease
-