Package io.datarouter.storage.file.small
Class BinarySmallFileService.CheckedSmallBinaryFileService
java.lang.Object
io.datarouter.storage.file.small.BinarySmallFileService.CheckedSmallBinaryFileService
- Enclosing class:
- BinarySmallFileService
@Singleton
public static class BinarySmallFileService.CheckedSmallBinaryFileService
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CheckedSmallBinaryFileService() -
Method Summary
Modifier and Type Method Description byte[]readBytes(java.nio.file.Path fullPath)voidwriteBytes(java.nio.file.Path fullPath, byte[] contents)
-
Constructor Details
-
CheckedSmallBinaryFileService
public CheckedSmallBinaryFileService()
-
-
Method Details
-
writeBytes
public void writeBytes(java.nio.file.Path fullPath, byte[] contents) throws java.io.IOException- Throws:
java.io.IOException
-
readBytes
public byte[] readBytes(java.nio.file.Path fullPath) throws java.io.IOException- Throws:
java.io.IOException
-