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)  
    void writeBytes​(java.nio.file.Path fullPath, byte[] contents)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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