Interface DataFileItem

  • All Superinterfaces:
    FolderItem
    All Known Implementing Classes:
    LocalDataFile

    public interface DataFileItem
    extends FolderItem
    DataFileItem corresponds to a private serialized data file within a FileSystem. Methods are provided for opening the underlying file as an input or output stream.
    NOTE: The use of DataFile is not encouraged and is not fully supported.
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.FileNotFoundException
        Open the current version of this item for reading.
        Returns:
        input stream
        Throws:
        java.io.FileNotFoundException
      • getOutputStream

        java.io.OutputStream getOutputStream()
                                      throws java.io.FileNotFoundException
        Open a new version of this item for writing.
        Returns:
        output stream.
        Throws:
        java.io.FileNotFoundException
      • getInputStream

        java.io.InputStream getInputStream​(int version)
                                    throws java.io.FileNotFoundException
        Open a specific version of this item for reading.
        Returns:
        input stream
        Throws:
        java.io.FileNotFoundException