Class FileUtils

java.lang.Object
com.acrolinx.sidebar.utils.FileUtils

public final class FileUtils extends Object
  • Method Details

    • deleteDirectory

      public static void deleteDirectory(Path directory) throws IOException
      Throws:
      IOException
    • extractZipFile

      public static void extractZipFile(Path zipFilePath, Path destinationDirectoryPath) throws IOException
      Throws:
      IOException
    • getInputFormat

      public static InputFormat getInputFormat(String fileName)
      This is just a basic implementation to get the InputFormats from file name with file extension. For integration using an Acrolinx Server 5.2 or newer just set the InputFormat to AUTO.