Class BinaryFileService.CheckedBinaryFileService
java.lang.Object
io.datarouter.filesystem.raw.small.BinaryFileService.CheckedBinaryFileService
- Enclosing class:
BinaryFileService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<byte[]> Optional<byte[]> Optional<byte[]> readEnding(Path fullPath, int length) readInputStream(Path fullPath) voidwriteBytes(Path fullPath, byte[] contents) voidwriteBytes(Path fullPath, InputStream inputStream)
-
Constructor Details
-
CheckedBinaryFileService
public CheckedBinaryFileService()
-
-
Method Details
-
writeBytes
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-
length
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readEnding
- Throws:
IOException
-
readInputStream
- Throws:
IOException
-