Class FileUtils

java.lang.Object
eu.webtoolkit.jwt.FileUtils

public class FileUtils extends Object
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • fileHeader

      public static List<Byte> fileHeader(String fileName, int size)
    • isDirectory

      public static boolean isDirectory(String directory)
    • exists

      public static boolean exists(String directory)
    • listFiles

      public static void listFiles(String path, List<String> files)
    • leaf

      public static String leaf(String path)
    • getResourceAsStream

      public static InputStream getResourceAsStream(String path) throws IOException
      Throws:
      IOException
    • resourceToString

      public static String resourceToString(String path)
    • fileToString

      public static String fileToString(String path)
    • appendFile

      public static void appendFile(String srcPath, String targetPath)