Class LocalFileStore

java.lang.Object
org.teamapps.message.protocol.file.LocalFileStore
All Implemented Interfaces:
FileDataReader, FileDataWriter

public class LocalFileStore
extends java.lang.Object
implements FileDataReader, FileDataWriter
  • Constructor Summary

    Constructors
    Constructor Description
    LocalFileStore​(java.io.File path, java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    FileData readFileData​(FileDataType type, java.lang.String fileName, long length, java.lang.String descriptor, boolean encrypted, java.lang.String encryptionKey)  
    FileData writeFileData​(FileData fileData)  

    Methods inherited from class java.lang.Object

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

    • LocalFileStore

      public LocalFileStore​(java.io.File path, java.lang.String name)
  • Method Details

    • readFileData

      public FileData readFileData​(FileDataType type, java.lang.String fileName, long length, java.lang.String descriptor, boolean encrypted, java.lang.String encryptionKey) throws java.io.IOException
      Specified by:
      readFileData in interface FileDataReader
      Throws:
      java.io.IOException
    • writeFileData

      public FileData writeFileData​(FileData fileData) throws java.io.IOException
      Specified by:
      writeFileData in interface FileDataWriter
      Throws:
      java.io.IOException