public static enum FileContext.PropertyKey extends Enum<FileContext.PropertyKey>
Enum Constant and Description |
---|
FILE_OPERATION_SUPPLIER
A constant for the key of a property whose value is an instance of
Supplier<FileOperation> which supplies the target operation. |
PATH_NAME_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<String> which consumes the path name. |
PATH_NAME_SUPPLIER
A constant for the key of a property whose values si an instance of
Supplier<String> which supplies the path name. |
SOURCE_CHANNEL_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<ReadableByteChannel> which consumes source file
channel. |
SOURCE_CHANNEL_SUPPLIER
A constant for the key of a property whose value is an instance of
Supplier<RedableByteChanel> which supplies the source file
channel. |
SOURCE_COPIED_CONSUMER
A constants for the key of a property whose value is an instance of
Consumer<Long> which consumes the number of bytes copied from
the source file part. |
SOURCE_KEY_SUPPLIER
A constant for the key of a property whose value is an instance of
Supplier<ByteBuffer> which supplies the key bytes for
locating the source file part. |
SOURCE_OBJECT_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<Object> which consumes an implementation specific
type of source file reference. |
TARGET_CHANNEL_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<WritableByteChannel> which consumes the target file
channel. |
TARGET_CHANNEL_SUPPLIER
A constant for the key of a property whose value is an instance of
Supplier<WritableByteChannel> which supplies a target file
channel. |
TARGET_COPIED_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<Long> which consumes the number of bytes copied to
target file part. |
TARGET_KEY_SUPPLIER
A constant for the key of a property whose value is an instance of
Supplier<ByteBuffer> which supplies the key bytes the
locating the target file part. |
TARGET_OBJECT_CONSUMER
A constant for the key of a property whose value is an instance of
Consumer<Object> which consumes an implementation specific
type of target file reference. |
Modifier and Type | Method and Description |
---|---|
static FileContext.PropertyKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileContext.PropertyKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileContext.PropertyKey FILE_OPERATION_SUPPLIER
Supplier<FileOperation>
which supplies the target operation.public static final FileContext.PropertyKey PATH_NAME_CONSUMER
Consumer<String>
which consumes the path name.public static final FileContext.PropertyKey PATH_NAME_SUPPLIER
Supplier<String>
which supplies the path name.public static final FileContext.PropertyKey SOURCE_CHANNEL_CONSUMER
Consumer<ReadableByteChannel>
which consumes source file
channel.public static final FileContext.PropertyKey TARGET_CHANNEL_CONSUMER
Consumer<WritableByteChannel>
which consumes the target file
channel.public static final FileContext.PropertyKey SOURCE_CHANNEL_SUPPLIER
Supplier<RedableByteChanel>
which supplies the source file
channel.public static final FileContext.PropertyKey TARGET_CHANNEL_SUPPLIER
Supplier<WritableByteChannel>
which supplies a target file
channel.public static final FileContext.PropertyKey SOURCE_COPIED_CONSUMER
Consumer<Long>
which consumes the number of bytes copied from
the source file part.public static final FileContext.PropertyKey TARGET_COPIED_CONSUMER
Consumer<Long>
which consumes the number of bytes copied to
target file part.public static final FileContext.PropertyKey SOURCE_KEY_SUPPLIER
Supplier<ByteBuffer>
which supplies the key bytes for
locating the source file part.public static final FileContext.PropertyKey TARGET_KEY_SUPPLIER
Supplier<ByteBuffer>
which supplies the key bytes the
locating the target file part.public static final FileContext.PropertyKey SOURCE_OBJECT_CONSUMER
Consumer<Object>
which consumes an implementation specific
type of source file reference.public static final FileContext.PropertyKey TARGET_OBJECT_CONSUMER
Consumer<Object>
which consumes an implementation specific
type of target file reference.public static FileContext.PropertyKey[] values()
for (FileContext.PropertyKey c : FileContext.PropertyKey.values()) System.out.println(c);
public static FileContext.PropertyKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2015. All rights reserved.