Package emu.grasscutter.utils
Class FileUtils
java.lang.Object
emu.grasscutter.utils.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyResource(String resourcePath, String destination) static StringgetFilenameWithoutPath(String fileName) getPathsFromResource(String folder) static byte[]static byte[]static byte[]static byte[]readResource(String resourcePath) static InputStreamreadResourceAsStream(String resourcePath) static StringreadToString(InputStream file) static void
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
write
-
read
-
read
-
readResourceAsStream
-
readResource
-
read
-
copyResource
-
getFilenameWithoutPath
-
getPathsFromResource
- Throws:
URISyntaxException
-
readToString
- Throws:
IOException
-