org.firej.writers
Class Writer

java.lang.Object
  extended by org.firej.writers.Writer
Direct Known Subclasses:
VelocityWriter

public abstract class Writer
extends java.lang.Object

The abstract Writer class

Author:
Vassilios Karakoidas (bkarak@aueb.gr)

Field Summary
protected static java.lang.String WORK_DIR
           
 
Constructor Summary
Writer()
           
 
Method Summary
 Regex compile(DFA dfa, java.lang.String regex)
           
abstract  Regex compile(DFA dfa, java.lang.String regex, java.lang.String filename)
          Compile a DFA and creates a regex class
abstract  java.lang.String getDescription()
          Returns a description for the writer
abstract  java.lang.String getName()
          Returns the name of the writer
abstract  java.lang.String getVersion()
          Returns the version of the writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORK_DIR

protected static final java.lang.String WORK_DIR
Constructor Detail

Writer

public Writer()
Method Detail

compile

public Regex compile(DFA dfa,
                     java.lang.String regex)

compile

public abstract Regex compile(DFA dfa,
                              java.lang.String regex,
                              java.lang.String filename)
Compile a DFA and creates a regex class


getName

public abstract java.lang.String getName()
Returns the name of the writer


getDescription

public abstract java.lang.String getDescription()
Returns a description for the writer


getVersion

public abstract java.lang.String getVersion()
Returns the version of the writer