org.modeshape.connector.filesystem
Class BasePropertiesFactory
java.lang.Object
org.modeshape.connector.filesystem.BasePropertiesFactory
- All Implemented Interfaces:
- Serializable, CustomPropertiesFactory
- Direct Known Subclasses:
- IgnoreProperties, LogProperties, StoreProperties, ThrowProperties
public abstract class BasePropertiesFactory
- extends Object
- implements CustomPropertiesFactory
A base class for CustomPropertiesFactory
implementations that handle "extra" or "custom" properties for 'nt:file',
'nt:folder', or 'nt:resource' nodes.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STANDARD_PROPERTIES_FOR_CONTENT
protected final Set<Name> STANDARD_PROPERTIES_FOR_CONTENT
- Only certain properties are tolerated when writing content (dna:resource or jcr:resource) nodes. These properties are
implicitly stored (primary type, data) or silently ignored (encoded, mimetype, last modified). The silently ignored
properties must be accepted to stay compatible with the JCR specification.
STANDARD_PROPERTIES_FOR_FILE_OR_FOLDER
protected final Set<Name> STANDARD_PROPERTIES_FOR_FILE_OR_FOLDER
- Only certain properties are tolerated when writing files (nt:file) or folders (nt:folder) nodes. These properties are
implicitly stored in the file or folder (primary type, created).
NO_PROPERTIES_COLLECTION
protected static final Collection<Property> NO_PROPERTIES_COLLECTION
NO_NAMES
protected static final Set<Name> NO_NAMES
BasePropertiesFactory
protected BasePropertiesFactory()
- Create an instance of this factory.
getFilenameFilter
public FilenameFilter getFilenameFilter(FilenameFilter exclusionFilter)
- Create a filename filter that will ignore any files needed by this implementation.
- Parameters:
exclusionFilter
- the default filter, which should be included; may be null if there is no such filter
- Returns:
- the filter
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.