Class FileUtils


  • public final class FileUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InputFormat getInputFormat​(java.lang.String fileName)
      This is just a basic implementation to get the InputFormats from file name with file extension.
      static boolean hasFileEnding​(java.lang.String fileName, java.lang.String requiredFileEnding)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInputFormat

        public static InputFormat getInputFormat​(java.lang.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.
      • hasFileEnding

        public static boolean hasFileEnding​(java.lang.String fileName,
                                            java.lang.String requiredFileEnding)