@CreoleResource(name="GATE XML Exporter", tool=true, autoinstances=, icon="GATEXML") public class GateXMLExporter extends DocumentExporter
defaultExtension, fileType, filter, mimeType
name
features
Constructor and Description |
---|
GateXMLExporter() |
Modifier and Type | Method and Description |
---|---|
void |
export(Document doc,
File file,
FeatureMap options)
Equivalent to
DocumentExporter.export(Document,OutputStream,FeatureMap) using a
FileOutputStream instance constructed from the File param. |
void |
export(Document doc,
OutputStream out,
FeatureMap options)
Exports the provided
Document instance to the specified
OutputStream using the specified options. |
export, export, getDefaultExtension, getFileFilter, getFileType, getInstance, getMimeType, getName
checkParameterValues, cleanup, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getParameterValue, getParameterValue, getParameterValues, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toString
getFeatures, setFeatures
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeatures, setFeatures
public void export(Document doc, File file, FeatureMap options) throws IOException
DocumentExporter
DocumentExporter.export(Document,OutputStream,FeatureMap)
using a
FileOutputStream instance constructed from the File param.export
in class DocumentExporter
IOException
public void export(Document doc, OutputStream out, FeatureMap options) throws IOException
DocumentExporter
Document
instance to the specified
OutputStream
using the specified options.export
in class DocumentExporter
doc
- the document to exportout
- the OutputStream to export the document tooptions
- DocumentExporter specific optionsIOException
Copyright © 2024 GATE. All rights reserved.