Package com.acrolinx.sidebar.utils
Class FileUtils
java.lang.Object
com.acrolinx.sidebar.utils.FileUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteDirectory(Path directory) static voidextractZipFile(Path zipFilePath, Path destinationDirectoryPath) static InputFormatgetInputFormat(String fileName) This is just a basic implementation to get theInputFormats from file name with file extension.
-
Method Details
-
deleteDirectory
- Throws:
IOException
-
extractZipFile
public static void extractZipFile(Path zipFilePath, Path destinationDirectoryPath) throws IOException - Throws:
IOException
-
getInputFormat
This is just a basic implementation to get theInputFormats from file name with file extension. For integration using an Acrolinx Server 5.2 or newer just set the InputFormat to AUTO.
-