public static interface FileBasedSink.OutputFileHints
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getMimeType()
Returns the MIME type that should be used for the files that will hold the output data.
|
@Nullable java.lang.String |
getSuggestedFilenameSuffix() |
@Nullable java.lang.String getMimeType()
null
if this WritableByteChannelFactory
does not meaningfully change
the MIME type (e.g., for Compression.UNCOMPRESSED
).MimeTypes
,
http://www.iana.org/assignments/media-types/media-types.xhtml@Nullable java.lang.String getSuggestedFilenameSuffix()
Compression.GZIP