Package com.vladsch.flexmark.util.misc
Class FileUtil
java.lang.Object
com.vladsch.flexmark.util.misc.FileUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDotExtension
(File receiver) static @Nullable String
getFileContent
(File receiver) static @org.jetbrains.annotations.Nullable byte[]
getFileContentBytes
(File receiver) static @org.jetbrains.annotations.NotNull byte[]
getFileContentBytesWithExceptions
(File receiver) static @NotNull String
getFileContentWithExceptions
(File receiver) static String
getNameOnly
(File receiver) static boolean
static String
static File
-
Constructor Details
-
FileUtil
public FileUtil()
-
-
Method Details
-
isChildOf
-
getNameOnly
-
getDotExtension
-
pathSlash
-
plus
-
getFileContent
-
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
-