public abstract class AbstractFileContext extends Object implements FileContext
FileContext.FileContext.PropertyKey| Constructor and Description |
|---|
AbstractFileContext() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<FileContext.PropertyKey,Object> |
properties()
Returns a map of properties.
|
Optional<Object> |
property(FileContext.PropertyKey key)
Returns an optional property value mapped to specified
propertyKey. |
Optional<Object> |
property(FileContext.PropertyKey key,
Object value)
Sets a new property value mapped to specified
propertyKey. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfileOperationSupplier, fileOperationSupplier, pathNameConsumer, pathNameConsumer, pathNameSupplier, pathNameSupplier, property, property, sourceChannelConsumer, sourceChannelConsumer, sourceChannelSupplier, sourceChannelSupplier, sourceCopiedConsumer, sourceCopiedConsumer, sourceKeySupplier, sourceKeySupplier, sourceObjectConsumer, sourceObjectConsumer, targetChannelConsumer, targetChannelConsumer, targetChannelSupplier, targetChannelSupplier, targetCopiedConsumer, targetCopiedConsumer, targetKeySupplier, targetKeySupplier, targetObjectConsumer, targetObjectConsumerpublic Optional<Object> property(FileContext.PropertyKey key)
FileContextpropertyKey.property in interface FileContextkey - the property keypublic Optional<Object> property(FileContext.PropertyKey key, Object value)
FileContextpropertyKey. Note
that providing null for propertyValue will remove
previous mapping.property in interface FileContextkey - the property keyvalue - the property value; null for removal of
mapping.propertyKey.protected Map<FileContext.PropertyKey,Object> properties()
Copyright © 2011–2015. All rights reserved.