au.id.pbw.hyfo.anttasks
Class SerializeHyphenationTrees

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by au.id.pbw.hyfo.anttasks.SerializeHyphenationTrees

public class SerializeHyphenationTrees
extends org.apache.tools.ant.Task

An ant Task to serialize HyphenationTrees.


Field Summary
 String builder_package_name
          The hyphenation tree builders package name.
 String builder_path_name
          The path name corresponding to package name of the hyphenation classes.
static String hyph_component
          The last part of the HyFo package name for hyphenation classes
static String serial_file_extension
          The extension of serialized hyphenation tree files.
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
SerializeHyphenationTrees()
          Constructs a new serializer.
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a set of pattern files (nested fileset attribute).
 org.apache.tools.ant.types.Path createClasspath()
          Ant magic to create a class path.
 void execute()
          The execute method from the ant Task class.
 List getFilesets()
          Returns the current list of filesets.
 void init()
          
 void setClassname(String fqcn)
          Ant magic to set the class name.
 void setClasspathref(org.apache.tools.ant.types.Reference r)
          Ant magic to set the classpath.
 void setTarget_dir(String target_dir)
          Sets the target directory
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder_package_name

public final String builder_package_name
The hyphenation tree builders package name.


builder_path_name

public final String builder_path_name
The path name corresponding to package name of the hyphenation classes.


hyph_component

public static final String hyph_component
The last part of the HyFo package name for hyphenation classes

See Also:
Constant Field Values

serial_file_extension

public static final String serial_file_extension
The extension of serialized hyphenation tree files.

See Also:
Constant Field Values
Constructor Detail

SerializeHyphenationTrees

public SerializeHyphenationTrees()
Constructs a new serializer.

Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
The execute method from the ant Task class.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - if any exception is thrown during execution of the method.
See Also:
Task.execute()

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of pattern files (nested fileset attribute).

Parameters:
set - a fileset

getFilesets

public List getFilesets()
Returns the current list of filesets.

Returns:
the filesets

setTarget_dir

public void setTarget_dir(String target_dir)
Sets the target directory

Parameters:
target_dir - target directory

init

public void init()

Overrides:
init in class org.apache.tools.ant.Task

setClasspathref

public void setClasspathref(org.apache.tools.ant.types.Reference r)
Ant magic to set the classpath.

Parameters:
r - the reference.
See Also:
ClasspathUtils.Delegate.setClasspathref(Reference).

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Ant magic to create a class path.

Returns:
the path.
See Also:
ClasspathUtils.Delegate.createClasspath().

setClassname

public void setClassname(String fqcn)
Ant magic to set the class name.

Parameters:
fqcn - the classname.
See Also:
ClasspathUtils.Delegate.setClassname(String).


Copyright © 2005-2006 Peter B. West.