Package | Description |
---|---|
gate.creole.ontology |
The GATE ontology API.
|
Modifier and Type | Method and Description |
---|---|
static OConstants.OntologyFormat |
OConstants.OntologyFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OConstants.OntologyFormat[] |
OConstants.OntologyFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Ontology.readOntologyData(InputStream in,
String baseURI,
OConstants.OntologyFormat format,
boolean asImport)
Read ontology data from the specified stream in the specified format
and load it into the ontology.
|
void |
Ontology.readOntologyData(Reader in,
String baseURI,
OConstants.OntologyFormat format,
boolean asImport)
Read ontology data from the specified reader in the specified format
and load it into the ontology.
|
void |
Ontology.writeOntologyData(OutputStream out,
OConstants.OntologyFormat format,
boolean includeExports)
Write the ontology data to the provided output stream in the specified
serialization format.
|
void |
Ontology.writeOntologyData(Writer out,
OConstants.OntologyFormat format,
boolean includeExports)
Write the ontology data to the provided writer in the specified
serialization format.
|
Copyright © 2024 GATE. All rights reserved.