Package de.cxp.ocs.smartsuggest.util
Class FileUtils
java.lang.Object
de.cxp.ocs.smartsuggest.util.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisEmptyDirectory(Path indexFolder) static booleanstatic <T> TloadSerializable(Path filePath, Class<T> targetClazz) static FilepackArchive(Path sourceFolder, String prefix) static voidpersistSerializable(Path filePath, Serializable serializable) static voidunpackArchive(IndexArchive archive, Path targetFolder)
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
persistSerializable
- Throws:
IOException
-
loadSerializable
- Throws:
IOException
-
isEmptyDirectory
-
isTarGz
-
unpackArchive
- Throws:
IOException
-
packArchive
- Throws:
IOException
-