com.informatica.powercenter.sdk.mapfwk.core
Class MapFwkRetrieveContext

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.MapFwkRetrieveContext

public class MapFwkRetrieveContext
extends java.lang.Object

Context class for specifying the output details


Field Summary
static int INPUT_FILE
          Constant for file target
static int INPUT_FORMAT_MSPPT
          Constant for MS PPT output
static int INPUT_FORMAT_XML
          Constant for XML output
static int INPUT_STREAM
          Constant for outputstream target
 
Constructor Summary
MapFwkRetrieveContext(int format, int input, java.io.InputStream inStream)
          Constructor with output format written to a file
MapFwkRetrieveContext(int format, int input, java.lang.String fileName)
          Constructor with output format written to a file
 
Method Summary
 java.lang.String getFileName()
          Gets the output file name
 java.io.InputStream getInputStream()
          Gets the output stream
 int getInputType()
          Gets the output target type
 com.informatica.powercenter.sdk.mapfwk.xml.Reader getReaderClass()
          Get the writer object context
 int getRetrieveFormat()
          Get the output format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPUT_FORMAT_XML

public static final int INPUT_FORMAT_XML
Constant for XML output

See Also:
Constant Field Values

INPUT_FORMAT_MSPPT

public static final int INPUT_FORMAT_MSPPT
Constant for MS PPT output

See Also:
Constant Field Values

INPUT_FILE

public static final int INPUT_FILE
Constant for file target

See Also:
Constant Field Values

INPUT_STREAM

public static final int INPUT_STREAM
Constant for outputstream target

See Also:
Constant Field Values
Constructor Detail

MapFwkRetrieveContext

public MapFwkRetrieveContext(int format,
                             int input,
                             java.lang.String fileName)
Constructor with output format written to a file

Parameters:
format - input format could be XML, PPT etc
input - input could be written a file or a stream
fileName - input file name

MapFwkRetrieveContext

public MapFwkRetrieveContext(int format,
                             int input,
                             java.io.InputStream inStream)
Constructor with output format written to a file

Parameters:
format - input format could be XML, PPT etc
input - input could be written a file or a stream
inStream - input stream
Method Detail

getRetrieveFormat

public int getRetrieveFormat()
Get the output format

Returns:
Returns the output Format.

getInputType

public int getInputType()
Gets the output target type

Returns:
Returns the target type.

getInputStream

public java.io.InputStream getInputStream()
Gets the output stream

Returns:
Returns the output Stream.

getFileName

public java.lang.String getFileName()
Gets the output file name

Returns:
Returns the output file name.

getReaderClass

public com.informatica.powercenter.sdk.mapfwk.xml.Reader getReaderClass()
Get the writer object context

Returns:
Returns the Writer object