Interface RemoteFileStore

All Known Implementing Classes:
S3FileStore

public interface RemoteFileStore
  • Method Summary

    Modifier and Type Method Description
    boolean fileExists​(java.lang.String path)  
    java.io.File getFile​(java.lang.String path)  
    java.io.InputStream getInputStream​(java.lang.String path)  
    void removeFile​(java.lang.String path)  
    void setFile​(java.lang.String path, java.io.File file)  
    void setInputStream​(java.lang.String path, java.io.InputStream inputStream, long length)  
  • Method Details

    • getInputStream

      java.io.InputStream getInputStream​(java.lang.String path) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getFile

      java.io.File getFile​(java.lang.String path) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • setInputStream

      void setInputStream​(java.lang.String path, java.io.InputStream inputStream, long length) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • setFile

      void setFile​(java.lang.String path, java.io.File file) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • fileExists

      boolean fileExists​(java.lang.String path)
    • removeFile

      void removeFile​(java.lang.String path) throws java.lang.Exception
      Throws:
      java.lang.Exception