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.FilegetAsFile()java.lang.StringgetFileName()java.io.FilegetFileVersion(int version)java.lang.StringgetHash()java.io.InputStreamgetInputStream()longgetSize()intgetVersion()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teamapps.universaldb.index.fileng.FileValue
getVersionCount, parseMetaData
-
Constructor Details
-
StoreFileValue
-
-
Method Details
-
getHash
public java.lang.String getHash() -
getFileName
public java.lang.String getFileName()- Specified by:
getFileNamein interfaceFileValue
-
getSize
public long getSize() -
getInputStream
public java.io.InputStream getInputStream()- Specified by:
getInputStreamin interfaceFileValue
-
getAsFile
public java.io.File getAsFile() -
getVersion
public int getVersion()- Specified by:
getVersionin interfaceFileValue
-
getFileVersion
public java.io.File getFileVersion(int version)- Specified by:
getFileVersionin interfaceFileValue
-