Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## writer2latex.api
Interface OutputFile

All Known Subinterfaces:
  Document

All Known Implementing Classes:
  BibTeXDocument, BinaryGraphicsDocument, DOMDocument, LaTeXDocument, NewDOMDocument, OfficeDocument, XhtmlDocument

    public interface OutputFile

An `OutputFile` represent a single file in a `ConverterResult`, which is output from a `Converter` implementation.

Method Summary
`java.lang.String` | `getFileName()` Returns the file name of the `OutputFile`.
`void` | `write(java.io.OutputStream os)` Writes the `OutputFile` to an `OutputStream`.

Method Detail

### write

    void write(java.io.OutputStream os)
               throws java.io.IOException

  Writes the `OutputFile` to an `OutputStream`.

  Parameters:
    `os` - `OutputStream` to which the content should be written
  Throws:
    `java.io.IOException` - if any I/O error occurs

### getFileName

    java.lang.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD