Class FileUtil


  • public class FileUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.file.Path createPathToResource​(java.nio.file.Path p_214993_0_, java.lang.String p_214993_1_, java.lang.String p_214993_2_)  
      static java.lang.String findAvailableName​(java.nio.file.Path p_214992_0_, java.lang.String p_214992_1_, java.lang.String p_214992_2_)  
      static boolean isPathNormalized​(java.nio.file.Path p_214995_0_)  
      static boolean isPathPortable​(java.nio.file.Path p_214994_0_)  
      • Methods inherited from class java.lang.Object

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

      • COPY_COUNTER_PATTERN

        private static final java.util.regex.Pattern COPY_COUNTER_PATTERN
      • RESERVED_WINDOWS_FILENAMES

        private static final java.util.regex.Pattern RESERVED_WINDOWS_FILENAMES
    • Constructor Detail

      • FileUtil

        public FileUtil()
    • Method Detail

      • findAvailableName

        public static java.lang.String findAvailableName​(java.nio.file.Path p_214992_0_,
                                                         java.lang.String p_214992_1_,
                                                         java.lang.String p_214992_2_)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • isPathNormalized

        public static boolean isPathNormalized​(java.nio.file.Path p_214995_0_)
      • isPathPortable

        public static boolean isPathPortable​(java.nio.file.Path p_214994_0_)
      • createPathToResource

        public static java.nio.file.Path createPathToResource​(java.nio.file.Path p_214993_0_,
                                                              java.lang.String p_214993_1_,
                                                              java.lang.String p_214993_2_)