Class FileUtils
java.lang.Object
io.github.kirstenali.racore.core.utils.FileUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathgetFilePath(String directory, String fileName) static byte[]static voidsendStaticFileResponse(HttpExchange exchange, Path filePath)
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
getFilePath
-
readFile
-
sendStaticFileResponse
- Throws:
IOException
-