com.metamatrix.connector.xml.file
Class FileExecutor
java.lang.Object
com.metamatrix.connector.xml.file.FileExecutor
- All Implemented Interfaces:
- DocumentProducer, NamedDocumentExecutor
public class FileExecutor
- extends java.lang.Object
- implements DocumentProducer, NamedDocumentExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARM_FILE_NAME_TABLE_PROPERTY_NAME
public static final java.lang.String PARM_FILE_NAME_TABLE_PROPERTY_NAME
- See Also:
- Constant Field Values
FileExecutor
public FileExecutor(FileConnectorState state,
XMLExecution execution)
throws ConnectorException
- Throws:
ConnectorException
getDocumentCount
public int getDocumentCount()
throws ConnectorException
- Specified by:
getDocumentCount
in interface DocumentProducer
- Throws:
ConnectorException
getCacheKey
public java.lang.String getCacheKey(int i)
throws ConnectorException
- Specified by:
getCacheKey
in interface DocumentProducer
- Throws:
ConnectorException
getDocumentStream
public java.io.InputStream getDocumentStream(int i)
throws ConnectorException
- Throws:
ConnectorException
getXMLResponse
public Response getXMLResponse(int invocationNumber)
throws ConnectorException
- Specified by:
getXMLResponse
in interface DocumentProducer
- Throws:
ConnectorException
addStreamFilters
public java.io.InputStream addStreamFilters(java.io.InputStream response,
ConnectorLogger logger)
throws ConnectorException
- Throws:
ConnectorException
getDocumentName
public java.lang.String getDocumentName(int i)
throws ConnectorException
- Specified by:
getDocumentName
in interface NamedDocumentExecutor
- Throws:
ConnectorException
getRequestObject
public java.io.Serializable getRequestObject(int i)
throws ConnectorException
- Specified by:
getRequestObject
in interface DocumentProducer
- Throws:
ConnectorException
recreateDocument
public XMLDocument recreateDocument(java.io.Serializable requestObject)
throws ConnectorException
- Throws:
ConnectorException
Copyright © 2009. All Rights Reserved.