writer2latex.api

Interface OutputFile

public interface OutputFile

An OutputFile represent a single file in a ConverterResult, which is output from a Converter implementation.
Method Summary
StringgetFileName()
Returns the file name of the OutputFile.
voidwrite(OutputStream os)
Writes the OutputFile to an OutputStream.

Method Detail

getFileName

public String getFileName()
Returns the file name of the OutputFile. This includes the file extension and may also include a relative path, always using / as separator.

Returns: the file name of this OutputFile

write

public void write(OutputStream os)
Writes the OutputFile to an OutputStream.

Parameters: os OutputStream to which the content should be written

Throws: IOException if any I/O error occurs