public static interface FileBasedSink.WritableByteChannelFactory extends FileBasedSink.OutputFileHints
WritableByteChannel
used by FileBasedSink
and related classes to allow decorating, or otherwise transforming, the raw data that
would normally be written directly to the WritableByteChannel
passed into create(WritableByteChannel)
.
Subclasses should override Object.toString()
with something meaningful, as it is used when
building DisplayData
.
Modifier and Type | Method and Description |
---|---|
java.nio.channels.WritableByteChannel |
create(java.nio.channels.WritableByteChannel channel) |
getMimeType, getSuggestedFilenameSuffix