|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.DefaultConverter
public class DefaultConverter
Default implementation of Converter
| Field Summary | |
|---|---|
static String[] |
SUPPORTED_FROM_FORMAT
Supported input format, i.e. |
static String[] |
SUPPORTED_TO_FORMAT
Supported output format, i.e. |
| Constructor Summary | |
|---|---|
DefaultConverter()
|
|
| Method Summary | |
|---|---|
void |
convert(InputFileWrapper input,
OutputFileWrapper output)
|
void |
convert(InputReaderWrapper input,
OutputStreamWrapper output)
|
void |
enableLogging(org.apache.maven.doxia.logging.Log log)
|
String[] |
getInputFormats()
|
protected org.apache.maven.doxia.logging.Log |
getLog()
Returns a logger for this sink. |
String[] |
getOutputFormats()
|
void |
setFormatOutput(boolean formatOutput)
Make the generated files human readable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] SUPPORTED_FROM_FORMAT
public static final String[] SUPPORTED_TO_FORMAT
| Constructor Detail |
|---|
public DefaultConverter()
| Method Detail |
|---|
public void enableLogging(org.apache.maven.doxia.logging.Log log)
enableLogging in interface org.apache.maven.doxia.logging.LogEnabledprotected org.apache.maven.doxia.logging.Log getLog()
public String[] getInputFormats()
getInputFormats in interface Converterapt.public String[] getOutputFormats()
getOutputFormats in interface Converterxhtml.
public void convert(InputFileWrapper input,
OutputFileWrapper output)
throws UnsupportedFormatException,
ConverterException
convert in interface Converterinput - an input file wrapper, not null.output - an output file wrapper, not null.
UnsupportedFormatException - if any
ConverterException - if any
public void convert(InputReaderWrapper input,
OutputStreamWrapper output)
throws UnsupportedFormatException,
ConverterException
convert in interface Converterinput - an input reader wrapper, not null.output - an output writer wrapper, not null.
UnsupportedFormatException - if any
ConverterException - if anypublic void setFormatOutput(boolean formatOutput)
setFormatOutput in interface ConverterformatOutput - true to format the generated files, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||