Package com.axemble.vdoc.sdk.interfaces
Interface IViewerConvertable
public interface IViewerConvertable
Represent an object that can be converted to display into viewer
-
Method Summary
Modifier and TypeMethodDescriptionbuild the convertable cheksumget the convertable file extensionget the convertable file namethe convertable input streamgetUrl()
get the convertable direct linkthe convertable as protocol support
-
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
the convertable input stream- Returns:
- the convertable stream used to read it
- Throws:
IOException
- if can't open stream
-