Package org.asciidoctor.converter
Interface OutputFormatWriter<T>
-
- All Superinterfaces:
Converter<T>
- All Known Implementing Classes:
AbstractConverter
,StringConverter
public interface OutputFormatWriter<T> extends Converter<T>
A Java converter also has to be an OutputFormatWriter that writes the converted content to a stream. This interface is only called if the caller asks to write the generated content to a file or a stream. Otherwise the generated content, e.g. aString
some other object representation will be returned to the caller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write(T output, java.io.OutputStream out)
-
Methods inherited from interface org.asciidoctor.converter.Converter
convert, getOptions, getOutfileSuffix, setOutfileSuffix
-
-
-
-
Method Detail
-
write
void write(T output, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-