public class TextExporter extends AbstractExporter
Modifier and Type | Field and Description |
---|---|
static String |
EXPORTER_TYPE |
static TextExporter |
INSTANCE |
Constructor and Description |
---|
TextExporter() |
Modifier and Type | Method and Description |
---|---|
void |
createContents(Appendable text,
RootNode rootNode,
String exportedFileName)
Returns a stream containing the initial contents to be given to new
exported validation results file resource instances.
|
String |
getExporterType() |
String |
getPreferredExtension() |
export, export, getExporter
public static final String EXPORTER_TYPE
public static final TextExporter INSTANCE
public void createContents(Appendable text, RootNode rootNode, String exportedFileName) throws IOException
text
- The contents to be appendedrootNode
- The validation result modelexportedFileName
- The target file name or null if not known and not to be reportedIOException
public String getExporterType()
public String getPreferredExtension()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.