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
Fields inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl |
CACHE_ENABLED, CACHE_TIMEOUT, CONNECTOR_CAPABILITES, FILE_CACHE_LOCATION, INPUT_STREAM_FILTER_CLASS, LOG_REQUEST_RESPONSE_DOCS, logger, MAX_FILE_CACHE_SIZE, MAX_IN_MEMORY_STRING_SIZE, MAX_MEMORY_CACHE_SIZE, QUERY_PREPROCESS_CLASS, QUERY_PREPROCESS_CLASS_DEFAULT, SAX_FILTER_PROVIDER_CLASS, SAX_FILTER_PROVIDER_CLASS_DEFAULT |
Methods inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl |
getCacheLocation, getCacheTimeoutMillis, getCacheTimeoutSeconds, getConnectorCapabilities, getLogger, getMaxFileCacheSizeByte, getMaxFileCacheSizeKB, getMaxInMemoryStringSize, getMaxMemoryCacheSizeByte, getMaxMemoryCacheSizeKB, getPluggableInputStreamFilterClass, getPreprocessor, getSAXFilterProvider, 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.
makeExecutor
public DocumentProducer makeExecutor(XMLExecution execution)
throws ConnectorException
- Throws:
ConnectorException
getConnection
public Connection getConnection(CachingConnector connector,
ExecutionContext context,
ConnectorEnvironment environment)
throws ConnectorException
- Throws:
ConnectorException
Copyright © 2009. All Rights Reserved.