Class FileSystemRendition
- java.lang.Object
- 
- com.saperion.connector.renditions.BaseRendition
- 
- com.saperion.connector.renditions.FileSystemRendition
 
 
- 
- All Implemented Interfaces:
- Rendition,- java.lang.AutoCloseable
 
 public class FileSystemRendition extends BaseRendition 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedFileSystemRendition()Default constructor for instantiating theFileSystemRenditioninstance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.io.FilegetFile()java.lang.StringgetFilename()intgetPage()Returns the number of the page represented by this rendition.InputStreamDescriptorgetStream()Returns the content asInputStreamDescriptorgenerated by the render engine.booleanisComplete()voidsetFile(WrappedFile file)voidsetFilename(java.lang.String filename)- 
Methods inherited from class com.saperion.connector.renditions.BaseRenditiongetTarget, setTarget
 
- 
 
- 
- 
- 
Method Detail- 
getStreampublic InputStreamDescriptor getStream() throws java.lang.Exception Returns the content asInputStreamDescriptorgenerated by the render engine.- Returns:
- InputStreamDescriptorgenerated by the render engine.
- Throws:
- java.lang.Exception
- See Also:
- Rendition.getStream()
 
 - 
getFilenamepublic java.lang.String getFilename() - Returns:
- the filename
 
 - 
setFilenamepublic void setFilename(java.lang.String filename) - Parameters:
- filename- the filename to set
 
 - 
getFilepublic java.io.File getFile() - Returns:
- the file
 
 - 
setFilepublic void setFile(WrappedFile file) - Parameters:
- file- the file to set
 
 - 
getPagepublic int getPage() Returns the number of the page represented by this rendition.- Returns:
- page number or -1 if the renditions contains multiple (or all) pages
- See Also:
- Rendition.getPage()
 
 - 
isCompletepublic boolean isComplete() - Returns:
- true if this rendition represents a complete document.
- See Also:
- Rendition.isComplete()
 
 - 
closepublic void close() throws java.lang.Exception- Throws:
- java.lang.Exception
 
 
- 
 
-