Schnittstelle FileValue

Alle bekannten Implementierungsklassen:
CommittedLocalFile, CommittedRemoteFile, StoreDescriptionFile, UncommittedFile

public interface FileValue
  • Methodendetails

    • create

      static FileValue create(File file)
    • create

      static FileValue create(File file, String fileName)
    • writeValues

      default void writeValues(DataOutputStream dos) throws IOException
      Löst aus:
      IOException
    • getType

      FileValueType getType()
    • getInputStream

      InputStream getInputStream() throws IOException
      Löst aus:
      IOException
    • getAsFile

      default File getAsFile()
    • getFileExtension

      default String getFileExtension()
    • copyToFile

      default void copyToFile(File file) throws IOException
      Löst aus:
      IOException
    • toBytes

      default byte[] toBytes() throws IOException
      Löst aus:
      IOException
    • getFileName

      String getFileName()
    • getSize

      long getSize()
    • getHash

      String getHash()
    • getKey

      String getKey()
    • getHashBytes

      default byte[] getHashBytes()
    • getKeyBytes

      default byte[] getKeyBytes()
    • getFileContentData

      FileContentData getFileContentData()
    • getFileContentData

      default FileContentData getFileContentData(int maxContentLength)
    • getDetectedLanguage

      String getDetectedLanguage()
    • getMimeTypeData

      default MimeType getMimeTypeData()
    • getFullTextIndexData

      default List<FullTextIndexValue> getFullTextIndexData()
    • getMimeType

      default String getMimeType()
    • getTextContent

      default String getTextContent()
    • getLatitude

      default String getLatitude()
    • getLongitude

      default String getLongitude()
    • getPageCount

      default int getPageCount()
    • getImageWidth

      default int getImageWidth()
    • getImageHeight

      default int getImageHeight()
    • getContentCreatedBy

      default String getContentCreatedBy()
    • getContentCreationDate

      default Instant getContentCreationDate()
    • getContentModifiedBy

      default String getContentModifiedBy()
    • getContentModificationDate

      default Instant getContentModificationDate()
    • getDevice

      default String getDevice()
    • getSoftware

      default String getSoftware()