Class AbstractPreview

    • Method Detail

      • getDisplayLicenseKey

        public String getDisplayLicenseKey()
        Description copied from interface: Preview
        Getting the license of display software product if any
        Specified by:
        getDisplayLicenseKey in interface Preview
        Returns:
        a string.
      • getDocumentId

        public String getDocumentId()
        Description copied from interface: Preview
        Getting the document identifier.
        Specified by:
        getDocumentId in interface Preview
        Returns:
        a string.
      • getDocumentType

        public String getDocumentType()
        Description copied from interface: Preview
        Getting the document type (not mime-type, but document service type, 'attachment' for example).
        Specified by:
        getDocumentType in interface Preview
        Returns:
        a string.
      • getLanguage

        public String getLanguage()
        Description copied from interface: Preview
        Getting the language of the document content.
        Specified by:
        getLanguage in interface Preview
        Returns:
        a string.
      • getOriginalFileName

        public String getOriginalFileName()
        Description copied from interface: Preview
        Getting the original file of the document
        Specified by:
        getOriginalFileName in interface Preview
        Returns:
        a string.
      • getPhysicalFile

        public File getPhysicalFile()
        Description copied from interface: Preview
        Getting the physical file of the document
        Specified by:
        getPhysicalFile in interface Preview
        Returns:
        a File instance.
      • getWidth

        public String getWidth()
        Description copied from interface: Preview
        Getting the width of the document
        Specified by:
        getWidth in interface Preview
        Returns:
        a string.
      • getHeight

        public String getHeight()
        Description copied from interface: Preview
        Getting the height of the document
        Specified by:
        getHeight in interface Preview
        Returns:
        a string.
      • getURLAsString

        public String getURLAsString()
        Description copied from interface: Preview
        Getting URL of the document
        Specified by:
        getURLAsString in interface Preview
        Returns:
        a string.
      • getServerFilePath

        public Path getServerFilePath()
        Description copied from interface: Preview
        Getting Path of the document on the server.
        Specified by:
        getServerFilePath in interface Preview
        Returns:
        a Path instance.