public interface Converter
extends org.apache.maven.doxia.logging.LogEnabled
Modifier and Type | Method and Description |
---|---|
void |
convert(InputFileWrapper input,
OutputFileWrapper output) |
void |
convert(InputReaderWrapper input,
OutputStreamWrapper output) |
String[] |
getInputFormats() |
String[] |
getOutputFormats() |
void |
setFormatOutput(boolean formatOutput)
Make the generated files human readable.
|
String[] getInputFormats()
apt
.String[] getOutputFormats()
xhtml
.void convert(InputFileWrapper input, OutputFileWrapper output) throws UnsupportedFormatException, ConverterException
input
- an input file wrapper, not null.output
- an output file wrapper, not null.UnsupportedFormatException
- if anyConverterException
- if anyvoid convert(InputReaderWrapper input, OutputStreamWrapper output) throws UnsupportedFormatException, ConverterException
input
- an input reader wrapper, not null.output
- an output writer wrapper, not null.UnsupportedFormatException
- if anyConverterException
- if anyvoid setFormatOutput(boolean formatOutput)
formatOutput
- true
to format the generated files, false
otherwise.Copyright © 2005–2023 The Apache Software Foundation. All rights reserved.