ch.uzh.ifi.attempto.acewiki.aceowl
Class ACELexiconExporter

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.OntologyExporter
      extended by ch.uzh.ifi.attempto.acewiki.aceowl.ACELexiconExporter

public class ACELexiconExporter
extends OntologyExporter

This exporter generates a lexicon file in the ACE lexicon format containing all the words used in the knowledge base.

Author:
Tobias Kuhn

Constructor Summary
ACELexiconExporter()
           
 
Method Summary
 java.lang.String getContentType()
          Returns the content type for the given export type.
 java.lang.String getFileSuffix()
          Returns the file suffix for the given export type.
 java.lang.String getName()
          Returns the name of this exporter as shown to the user.
 boolean isApplicable()
          Returns whether this ontology exporter is applicable in the current context.
protected  void writeContent()
          This internal method should write the export content.
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.OntologyExporter
export, getOntology, getOntologyElements, getOutputStream, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACELexiconExporter

public ACELexiconExporter()
Method Detail

writeContent

protected void writeContent()
                     throws java.io.IOException
Description copied from class: OntologyExporter
This internal method should write the export content.

Specified by:
writeContent in class OntologyExporter
Throws:
java.io.IOException - when an IO problem occurs.

getName

public java.lang.String getName()
Description copied from class: OntologyExporter
Returns the name of this exporter as shown to the user.

Specified by:
getName in class OntologyExporter
Returns:
The name of this exporter.

isApplicable

public boolean isApplicable()
Description copied from class: OntologyExporter
Returns whether this ontology exporter is applicable in the current context.

Specified by:
isApplicable in class OntologyExporter
Returns:
true if this ontology exporter is applicable.

getFileSuffix

public java.lang.String getFileSuffix()
Description copied from class: OntologyExporter
Returns the file suffix for the given export type.

Specified by:
getFileSuffix in class OntologyExporter
Returns:
The file suffix.

getContentType

public java.lang.String getContentType()
Description copied from class: OntologyExporter
Returns the content type for the given export type.

Specified by:
getContentType in class OntologyExporter
Returns:
The content type.


Copyright 2008-2012, AceWiki developers