Class FileUtil

java.lang.Object
com.vladsch.flexmark.util.misc.FileUtil

public class FileUtil extends Object
  • Constructor Details

    • FileUtil

      public FileUtil()
  • Method Details

    • isChildOf

      public static boolean isChildOf(File receiver, File ancestor)
    • getNameOnly

      public static String getNameOnly(File receiver)
    • getDotExtension

      public static String getDotExtension(File receiver)
    • pathSlash

      public static String pathSlash(File receiver)
    • plus

      public static File plus(File receiver, String name)
    • getFileContent

      @Nullable public static @Nullable String getFileContent(File receiver)
    • getFileContentWithExceptions

      @NotNull public static @NotNull String getFileContentWithExceptions(File receiver) throws IOException
      Throws:
      IOException
    • getFileContentBytes

      @Nullable public static @org.jetbrains.annotations.Nullable byte[] getFileContentBytes(File receiver)
    • getFileContentBytesWithExceptions

      @NotNull public static @org.jetbrains.annotations.NotNull byte[] getFileContentBytesWithExceptions(File receiver) throws IOException
      Throws:
      IOException