|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.reports.server.Destination
Field Summary | |
protected CacheItem |
m_cacheItem The cache item associated with the destination. |
protected Job |
m_job The job object to which the destination object attaches. |
Constructor Summary | |
Destination() |
Method Summary | |
protected CacheItem |
getCacheItem() Returns the cache item associated with the destination. |
protected java.io.InputStream |
getContent(java.lang.String fileName) Returns the contents of a file from the cache. |
protected java.lang.String |
getDesname() Returns the destination name (DESNAME) of the object. |
protected java.lang.String |
getDestype() Returns the destination type (DESTYPE) of the object. |
protected Job |
getJob() Returns the job object to which the destination object attaches. |
protected java.lang.String |
getPluginParam(java.lang.String name) Returns the plugin parameter value given the parameter name. |
protected java.util.Properties |
getProperties() Returns the properties for the destination. |
protected static void |
init(java.util.Properties destProps) Initializes the destination class. |
protected void |
send() Sends the output to a specified DESTYPE and DESNAME. |
protected abstract void |
sendFile(boolean main, java.lang.String fileName, short fileFormat, long fileSize) Sends a file to the destination. |
protected void |
setCacheItem(CacheItem item) Sets a cache item associated with the destination. |
protected void |
setDesname(java.lang.String desname) Sets the destination name. |
protected void |
setJob(Job job) Sets the job object to which the Destination object attaches. |
protected void |
setProperties(java.util.Properties props) Sets the properties for the subclass object. |
protected static void |
shutdown() Shuts down the destination class. |
protected abstract boolean |
start(java.util.Properties props, java.lang.String desname, int totalFile, long totalSize, short mainFormat) Invoked before sending the first file to the destination. |
protected void |
stop() Invoked after all the files are sent to the destination. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected CacheItem m_cacheItem
protected Job m_job
Constructor Detail |
public Destination()
Method Detail |
protected static void init(java.util.Properties destProps) throws oracle.reports.RWException
destProps
- The properties set in the server configuration file for the specified plugin destination.protected static void shutdown()
protected java.lang.String getDestype()
protected void setDesname(java.lang.String desname)
This can be the value from the command line argument DESNAME, or it can come from a distribution file (.dist), or an .XML file.
desname
- The DESNAME command line argument for the job.protected java.lang.String getDesname()
protected void setProperties(java.util.Properties props) throws oracle.reports.RWException
props
- Any properties passed in from command line or distribution file.protected java.util.Properties getProperties()
protected java.lang.String getPluginParam(java.lang.String name) throws oracle.reports.RWException
name
- The plugin parameter name.protected void setCacheItem(CacheItem item)
item
- The cache item associated with the destination.protected CacheItem getCacheItem()
protected void setJob(Job job)
job
- The job object to which the Destination object attaches.protected Job getJob()
protected void send() throws oracle.reports.RWException
protected java.io.InputStream getContent(java.lang.String fileName) throws oracle.reports.RWException
fileName
- Name of the file under which the content is stored.protected abstract boolean start(java.util.Properties props, java.lang.String desname, int totalFile, long totalSize, short mainFormat) throws oracle.reports.RWException
props
- Properties for sending output to the destination.desname
- Destination name.totalFile
- Total number of files in the output.totalSize
- Total size of the output.mainFormat
- Format for the main output file.protected void stop() throws oracle.reports.RWException
protected abstract void sendFile(boolean main, java.lang.String fileName, short fileFormat, long fileSize) throws oracle.reports.RWException
main
- Main part of the output.fileName
- File name including path.fileFormat
- File format.fileSize
- File size.
|
Oracle Reports Java API Reference | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |