|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.jomc.ant.JomcTask
org.jomc.ant.JomcModelTask
org.jomc.ant.JomcToolTask
org.jomc.ant.ResourceFileProcessorTask
org.jomc.ant.GenerateResourcesTask
public final class GenerateResourcesTask
Task for generating resource files.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
GenerateResourcesTask()
Creates a new GenerateResourcesTask instance. |
Method Summary | |
---|---|
GenerateResourcesTask |
clone()
Creates and returns a copy of this object. |
File |
getResourcesDirectory()
Gets the directory to generate resource files to. |
void |
preExecuteTask()
Called by the execute method prior to the executeTask method. |
void |
processResourceFiles()
Generates resource files. |
void |
setResourcesDirectory(File value)
Sets the directory to generate resource files to. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenerateResourcesTask()
GenerateResourcesTask
instance.
Method Detail |
---|
public File getResourcesDirectory()
null
.setResourcesDirectory(java.io.File)
public void setResourcesDirectory(File value)
value
- The new directory to generate resource files to or null
.getResourcesDirectory()
public void preExecuteTask() throws org.apache.tools.ant.BuildException
execute
method prior to the executeTask
method.
preExecuteTask
in class JomcToolTask
org.apache.tools.ant.BuildException
- if execution fails.JomcTask.execute()
public void processResourceFiles() throws org.apache.tools.ant.BuildException
processResourceFiles
in class ResourceFileProcessorTask
org.apache.tools.ant.BuildException
- if generating resource files fails.ResourceFileProcessorTask.executeTask()
public GenerateResourcesTask clone()
clone
in class ResourceFileProcessorTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |