public final class KSExporter extends Object implements KSExporterType
KSExporterType interface.| Modifier and Type | Method and Description |
|---|---|
Set<Path> |
export(Path base_directory,
KSElement.KSBlock.KSBlockDocument<KSEvaluation> in_document,
Path out_directory,
boolean reconstruct_imports)
Export a document.
|
static KSExporterType |
newExporter(KSInputFormat in_format,
int in_indent,
int in_width)
Construct a new importer
|
public static KSExporterType newExporter(KSInputFormat in_format, int in_indent, int in_width)
in_format - The format of the exported documentin_indent - The indent widthin_width - The maximum page widthpublic Set<Path> export(Path base_directory, KSElement.KSBlock.KSBlockDocument<KSEvaluation> in_document, Path out_directory, boolean reconstruct_imports) throws IOException
KSExporterTypeexport in interface KSExporterTypebase_directory - The base directory of the original documentin_document - The original documentout_directory - The output directoryreconstruct_imports - true if imports should be reconstructedIOException - On I/O errorsCopyright © 2016 <code@io7m.com> http://io7m.com