Class FileStorage

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class FileStorage
    extends Storage
    • Constructor Summary

      Constructors 
      Constructor Description
      FileStorage​(java.io.File file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.io.InputStream getArray​(java.lang.String name)  
      java.io.InputStream getObject()  
      • Methods inherited from class java.lang.Object

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

      • FileStorage

        public FileStorage​(java.io.File file)
    • Method Detail

      • getObject

        public java.io.InputStream getObject()
                                      throws java.io.IOException
        Specified by:
        getObject in class Storage
        Throws:
        java.io.IOException
      • getArray

        public java.io.InputStream getArray​(java.lang.String name)
                                     throws java.io.IOException
        Specified by:
        getArray in class Storage
        Throws:
        java.io.IOException
      • close

        public void close()