Class FileUtil
java.lang.Object
com.vladsch.flexmark.util.misc.FileUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDotExtension(File receiver) static @Nullable StringgetFileContent(File receiver) static @Nullable byte[]getFileContentBytes(File receiver) static @NotNull byte[]getFileContentBytesWithExceptions(File receiver) static @NotNull StringgetFileContentWithExceptions(File receiver) static StringgetNameOnly(File receiver) static booleanstatic Stringstatic 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
-
getFileContentBytesWithExceptions
@NotNull public static @NotNull byte[] getFileContentBytesWithExceptions(File receiver) throws IOException - Throws:
IOException
-