Interface IFileDescription

All Known Subinterfaces:
IVHFileAdapterDescriptor

public interface IFileDescription
  • Method Details

    • getFileName

      String getFileName()
      Returns:
      Returns the display file name
    • getPhysicalFileName

      String getPhysicalFileName()
      Returns:
      Returns the physical name of the file. If getFile() == null than the result will the same as getFileName().
    • getRecId

      String getRecId()
      Returns:
      Returns the primary key, could be null if the file not corresponds to an record.
    • getContentType

      String getContentType()
      Returns:
      Returns the contentType.
    • getFileId

      String getFileId()
      Returns:
      the fileId Returns the id of the file, could be null if the file not corresponds to an record or corresponds to an single file field.
    • getFile

      File getFile()
      Returns:
      Returns the physical file (could be null if the file description corresponds not to a physical file)
    • isImage

      boolean isImage()
      Returns:
      Returns true for a image otherwise false
    • getMetaInfo

      de.uplanet.lucy.server.util.FileMetaInfo getMetaInfo()
      Returns:
      Returns the stored meta data of the file, can be null.
    • getLastModified

      Date getLastModified()
      Returns:
      the lastModify (null if not known)
    • getFileSize

      long getFileSize()
      Returns:
      Returns the file size. (-1L if the size is not known).