Class LocalDataStore

  • All Implemented Interfaces:
    DataStore

    public class LocalDataStore
    extends java.lang.Object
    implements DataStore
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalDataStore​(java.lang.String storageRootPath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String filePath)  
      java.io.InputStream load​(java.lang.String filePath)  
      java.lang.String save​(java.lang.String filePath, java.io.InputStream inputStream)  
      • Methods inherited from class java.lang.Object

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

      • LocalDataStore

        public LocalDataStore​(java.lang.String storageRootPath)
    • Method Detail

      • save

        public java.lang.String save​(java.lang.String filePath,
                                     java.io.InputStream inputStream)
        Specified by:
        save in interface DataStore
      • load

        public java.io.InputStream load​(java.lang.String filePath)
        Specified by:
        load in interface DataStore
      • delete

        public void delete​(java.lang.String filePath)
        Specified by:
        delete in interface DataStore