ch.uzh.ifi.attempto.acewiki.core
Class LexiconTableExporter

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

public class LexiconTableExporter
extends OntologyExporter

This exporter generates a table of the lexicon entries in CSV (comma separated values) format.

Author:
Tobias Kuhn

Constructor Summary
LexiconTableExporter()
           
 
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

LexiconTableExporter

public LexiconTableExporter()
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.

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.

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.

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