public interface OutputFile
OutputFile
represent a single file in a
ConverterResult
, which is output from a Converter
implementation.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName()
Returns the file name of the
OutputFile . |
void |
write(java.io.OutputStream os)
Writes the
OutputFile to an OutputStream . |
void write(java.io.OutputStream os) throws java.io.IOException
OutputFile
to an OutputStream
.os
- OutputStream
to which the content should be writtenjava.io.IOException
- if any I/O error occursjava.lang.String getFileName()
OutputFile
. This includes
the file extension and may also include a relative path, always using
/ as separator.OutputFile