com.metamatrix.connector.xml.file
Class FileConnectorState
java.lang.Object
com.metamatrix.connector.xml.base.XMLConnectorStateImpl
com.metamatrix.connector.xml.file.FileConnectorState
- All Implemented Interfaces:
- BaseXMLConnectorState, XMLConnectorState, java.lang.Cloneable
public class FileConnectorState
- extends XMLConnectorStateImpl
Methods inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl |
getConnectorCapabilities, getLogger, getPluggableInputStreamFilterClass, getPreprocessor, getSAXFilterProvider, isCaching, isLogRequestResponse, isNotNullOrEmpty, isPreprocess, setLogger, setPluggableInputStreamFilterClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_NAME
public static final java.lang.String FILE_NAME
- See Also:
- Constant Field Values
DIRECTORY_PATH
public static final java.lang.String DIRECTORY_PATH
- See Also:
- Constant Field Values
FileConnectorState
public FileConnectorState()
getState
public java.util.Properties getState()
- Specified by:
getState
in interface BaseXMLConnectorState
- Overrides:
getState
in class XMLConnectorStateImpl
setState
public void setState(ConnectorEnvironment env)
throws ConnectorException
- Specified by:
setState
in interface BaseXMLConnectorState
- Overrides:
setState
in class XMLConnectorStateImpl
- Throws:
ConnectorException
setFileName
public final void setFileName(java.lang.String fileName)
- Parameters:
m_fileName
- The m_fileName to set.
getFileName
public final java.lang.String getFileName()
- Returns:
- Returns the m_fileName.
setDirectoryPath
public final void setDirectoryPath(java.lang.String directoryPath)
- Parameters:
m_directoryPath
- The m_directoryPath to set.
getDirectoryPath
public final java.lang.String getDirectoryPath()
- Returns:
- Returns the m_directoryPath.
getConnection
public Connection getConnection(CachingConnector connector,
ExecutionContext context,
ConnectorEnvironment environment)
throws ConnectorException
- Throws:
ConnectorException
addStreamFilters
public java.io.InputStream addStreamFilters(java.io.InputStream stream)
throws ConnectorException
- Throws:
ConnectorException
addCachingStreamFilters
public java.io.InputStream addCachingStreamFilters(java.io.InputStream stream,
ExecutionContext context,
java.lang.String queryId)
throws ConnectorException
- Throws:
ConnectorException
Copyright © 2009. All Rights Reserved.