Package com.marklogic.client.ext.file
Class CollectionsFileDocumentFileProcessor
- java.lang.Object
-
- com.marklogic.client.ext.helper.LoggingObject
-
- com.marklogic.client.ext.file.PropertiesDrivenDocumentFileProcessor
-
- com.marklogic.client.ext.file.CollectionsFileDocumentFileProcessor
-
- All Implemented Interfaces:
DocumentFileProcessor,java.io.FileFilter
public class CollectionsFileDocumentFileProcessor extends PropertiesDrivenDocumentFileProcessor
Looks for a special file in each directory - defaults to collections.properties - that contains properties where the key is the name of a file in the directory, and the value is a comma-delimited list of collections to load the file into (which means you can't use a comma in any collection name).
-
-
Field Summary
-
Fields inherited from class com.marklogic.client.ext.file.PropertiesDrivenDocumentFileProcessor
WILDCARD_KEY
-
Fields inherited from class com.marklogic.client.ext.helper.LoggingObject
logger
-
-
Constructor Summary
Constructors Constructor Description CollectionsFileDocumentFileProcessor()CollectionsFileDocumentFileProcessor(java.lang.String propertiesFilename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDelimiter()protected voidprocessProperties(DocumentFile documentFile, java.util.Properties properties)voidsetDelimiter(java.lang.String delimiter)-
Methods inherited from class com.marklogic.client.ext.file.PropertiesDrivenDocumentFileProcessor
accept, getPropertiesCache, getPropertiesFilename, getPropertyValue, getTokenReplacer, loadProperties, processDocumentFile, setTokenReplacer
-
Methods inherited from class com.marklogic.client.ext.helper.LoggingObject
format
-
-
-
-
Method Detail
-
processProperties
protected void processProperties(DocumentFile documentFile, java.util.Properties properties)
- Specified by:
processPropertiesin classPropertiesDrivenDocumentFileProcessor
-
getDelimiter
public java.lang.String getDelimiter()
-
setDelimiter
public void setDelimiter(java.lang.String delimiter)
-
-