Class StoreFileValue

java.lang.Object
org.teamapps.universaldb.index.fileng.StoreFileValue
All Implemented Interfaces:
FileValue

public class StoreFileValue
extends java.lang.Object
implements FileValue
  • Constructor Summary

    Constructors
    Constructor Description
    StoreFileValue​(int id, FileStore fileStore)  
  • Method Summary

    Modifier and Type Method Description
    java.io.File getAsFile()  
    java.lang.String getFileName()  
    java.io.File getFileVersion​(int version)  
    java.lang.String getHash()  
    java.io.InputStream getInputStream()  
    long getSize()  
    int getVersion()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.teamapps.universaldb.index.fileng.FileValue

    getVersionCount, parseMetaData
  • Constructor Details

    • StoreFileValue

      public StoreFileValue​(int id, FileStore fileStore)
  • Method Details

    • getHash

      public java.lang.String getHash()
      Specified by:
      getHash in interface FileValue
    • getFileName

      public java.lang.String getFileName()
      Specified by:
      getFileName in interface FileValue
    • getSize

      public long getSize()
      Specified by:
      getSize in interface FileValue
    • getInputStream

      public java.io.InputStream getInputStream()
      Specified by:
      getInputStream in interface FileValue
    • getAsFile

      public java.io.File getAsFile()
      Specified by:
      getAsFile in interface FileValue
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface FileValue
    • getFileVersion

      public java.io.File getFileVersion​(int version)
      Specified by:
      getFileVersion in interface FileValue