Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-04

oracle.dss.util.xdo.template
Class FlashProcessor

java.lang.Object
  extended by oracle.dss.util.xdo.template.FlashProcessor

public class FlashProcessor
extends java.lang.Object


Field Summary
static byte FORMAT_FLASH
           
static byte FORMAT_MHTML
           
static byte FORMAT_PDF
           
static byte FORMAT_PPTX
           
 int mOutputType
           
 
Constructor Summary
FlashProcessor()
           
 
Method Summary
static void main(java.lang.String[] args)
          Creates a seed PDF file
 void process()
          Start processing.
 void setConfig(java.util.Properties props)
           
 void setConfig(java.lang.String propName, java.lang.String propValue)
          Sets the configuration for the document to be processed with another property.
 void setData(java.io.InputStream xmlStream)
          Sets XML Data Input Stream.
 void setData(java.lang.String xmlFile)
          Sets Input XML File.
 void setOutput(java.io.OutputStream outStream)
          Sets output stream.
 void setOutput(java.lang.String outFile)
          Sets output file.
 void setOutputFormat(int type)
          Sets the output format.
 void setTemplate(java.io.InputStream stream)
          Sets Input Flash file to be processed.
 void setTemplate(java.lang.String swfFile)
          Sets Input Flash file to be processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT_FLASH

public static final byte FORMAT_FLASH
See Also:
Constant Field Values

FORMAT_PDF

public static final byte FORMAT_PDF
See Also:
Constant Field Values

FORMAT_PPTX

public static final byte FORMAT_PPTX
See Also:
Constant Field Values

FORMAT_MHTML

public static final byte FORMAT_MHTML
See Also:
Constant Field Values

mOutputType

public int mOutputType
Constructor Detail

FlashProcessor

public FlashProcessor()
Method Detail

setTemplate

public void setTemplate(java.io.InputStream stream)
Sets Input Flash file to be processed. You also have to set XML data to be merged.

Parameters:
stream - input stream for xsl input
Since:
5.7.0

setTemplate

public void setTemplate(java.lang.String swfFile)
                 throws java.io.IOException
Sets Input Flash file to be processed. You also have to set XML data to be merged.

Parameters:
swfFile - the Flash file to be processed
Throws:
java.io.IOException
Since:
5.7.0

setData

public void setData(java.lang.String xmlFile)
             throws java.lang.Exception
Sets Input XML File. You also have to set Excel template.

Parameters:
xmlFile - xml input file path
Throws:
java.lang.Exception
Since:
5.7.0

setData

public void setData(java.io.InputStream xmlStream)
             throws java.lang.Exception
Sets XML Data Input Stream. You also have to set Excel template.

Parameters:
xmlStream - xml input file path
Throws:
java.lang.Exception
Since:
5.7.0

setOutput

public void setOutput(java.io.OutputStream outStream)
Sets output stream.

Parameters:
outStream - output stream name
Since:
5.7.0

setOutput

public void setOutput(java.lang.String outFile)
               throws java.io.IOException
Sets output file. The file name is in its absolute path.

Parameters:
outFile - output file name
Throws:
java.io.IOException
Since:
5.7.0

setOutputFormat

public void setOutputFormat(int type)
Sets the output format. FORMAT_FLASH - Flash file (Default) FORMAT_PDF_WITH_FLASH - PDF file with Flash FORMAT_MHTML - MHTML with Flash

Parameters:
type -

setConfig

public void setConfig(java.lang.String propName,
                      java.lang.String propValue)
Sets the configuration for the document to be processed with another property. This overrides existing configuration setting. ("system-temp-dir", "/tmp") sets temporary directory to make it scalable.

Parameters:
propName - property's name
propValue - property's value
Since:
5.7.0

setConfig

public void setConfig(java.util.Properties props)

process

public void process()
             throws XDOException,
                    java.io.IOException
Start processing. All input/output information will be cleared after processing

Throws:
XDOException
java.io.IOException
Since:
5.7.0

main

public static void main(java.lang.String[] args)
Creates a seed PDF file

Throws:
java.io.IOException

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-04

Copyright © 1997, 2010, Oracle. All rights reserved.