Interface IViewerConvertable


public interface IViewerConvertable
Represent an object that can be converted to display into viewer
  • Method Details

    • getFileName

      String getFileName()
      get the convertable file name
      Returns:
      the file name
    • getFileExtension

      String getFileExtension()
      get the convertable file extension
      Returns:
      the file extension
    • getUrl

      String getUrl()
      get the convertable direct link
      Returns:
      the convertable direct link
    • buildChecksum

      String buildChecksum()
      build the convertable cheksum
      Returns:
      the checksum
    • toProtocolSupport

      IProtocolSupport toProtocolSupport()
      the convertable as protocol support
      Returns:
      the IProtocolSupport representing the convertable
    • getInputStream

      InputStream getInputStream() throws IOException
      the convertable input stream
      Returns:
      the convertable stream used to read it
      Throws:
      IOException - if can't open stream