public class XMLFilesystemSourceAdapter extends com.exalead.papi.connectors.filesystem.FilesystemSourceAdapter<XMLFilesystemKey>
Modifier and Type | Field and Description |
---|---|
protected XMLConnectorConfig |
config |
protected XMLConnector |
connector |
Constructor and Description |
---|
XMLFilesystemSourceAdapter(XMLConnector connector,
XMLConnectorConfig config) |
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(XMLFilesystemKey key) |
Document |
getFilesystemDocument(XMLFilesystemKey key) |
MetaContainer |
getFileSystemNonSecurityMetaContainer(XMLFilesystemKey key) |
PartContainer |
getFileSystemPartContainer(XMLFilesystemKey key) |
java.lang.String |
getStamp(XMLFilesystemKey key)
This method is used to determine if a document has changed (if stamps are equals,
the document is considered unchanged)
|
createPartFromFileInterface, getConfigOf, getConnectorMetas, getDefaultEncoding, getLeafOfKey, getMaxInputSize, getNonSecurityMetaContainer, getNonSecurityMetaContainerS, getPartContainer, getPublicUrl, getSecurityMetaContainer, isLocalAcl, updatePartMetas, updatePartMetas
getAllMetaContainer, getConnector, getSecurityMetaHash, getSecurityMetaHash, setConnector
protected final XMLConnector connector
protected final XMLConnectorConfig config
public XMLFilesystemSourceAdapter(XMLConnector connector, XMLConnectorConfig config) throws java.lang.Exception
java.lang.Exception
public Document getFilesystemDocument(XMLFilesystemKey key) throws PushAPIException, java.io.IOException
PushAPIException
java.io.IOException
public Document getDocument(XMLFilesystemKey key) throws PushAPIException, java.io.IOException
PushAPIException
java.io.IOException
public java.lang.String getStamp(XMLFilesystemKey key) throws java.io.IOException
SourceAdapter
getStamp
in class com.exalead.papi.connectors.filesystem.FilesystemSourceAdapter<XMLFilesystemKey>
key
- ID of the documentjava.io.IOException
public MetaContainer getFileSystemNonSecurityMetaContainer(XMLFilesystemKey key) throws java.io.IOException
java.io.IOException
public PartContainer getFileSystemPartContainer(XMLFilesystemKey key) throws java.lang.Exception
java.lang.Exception
Copyright © 2013 Dassault Systèmes, All Rights Reserved.