java.lang.Object
org.objectstyle.woproject.ant.ProjectFormat
org.objectstyle.woproject.ant.FrameworkFormat
- public class FrameworkFormat
- extends ProjectFormat
Subclass of ProjectFormat that defines file copying
strategy for WOFrameworks.
|
Constructor Summary |
FrameworkFormat(WOTask task)
Creates new FrameworkFormat and initializes it with the name
of the project being built. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFO_TEMPLATE
public static final java.lang.String INFO_TEMPLATE
- See Also:
- Constant Field Values
FrameworkFormat
public FrameworkFormat(WOTask task)
- Creates new FrameworkFormat and initializes it with the name
of the project being built.
getFrameworkTask
private WOFramework getFrameworkTask()
fileIterator
public java.util.Iterator fileIterator()
- Description copied from class:
ProjectFormat
- Returns an iterator over String objects that
specify paths of the files to be created during
the build process.
- Specified by:
fileIterator in class ProjectFormat
templateForTarget
public java.lang.String templateForTarget(java.lang.String targetName)
throws org.apache.tools.ant.BuildException
- Description copied from class:
ProjectFormat
- Returns a path to the template that should be used to
build a target file.
- Specified by:
templateForTarget in class ProjectFormat
filtersForTarget
public org.apache.tools.ant.types.FilterSetCollection filtersForTarget(java.lang.String targetName)
throws org.apache.tools.ant.BuildException
- Description copied from class:
ProjectFormat
- Returns a FilterSetCollection that should be applied when
generating a target file.
- Specified by:
filtersForTarget in class ProjectFormat
stringIterator
private java.util.Iterator stringIterator(java.lang.String str)
- Returns an iterator with a single String element.