istack common utility code 2.6.1-redhat-2

com.sun.istack.build
Class ResourceGenTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.sun.istack.build.ResourceGenTask
All Implemented Interfaces:
Cloneable

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

Generate source files from resource bundles, so that code can refer to resources as methods, instead of hard-coding string constants, which is much harder to search.

Author:
Kohsuke Kawaguchi

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
ResourceGenTask()
           
 
Method Summary
 void addConfiguredResource(org.apache.tools.ant.types.FileSet fs)
           
 void execute()
           
 void setDestDir(File dir)
           
 
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
clone, 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

ResourceGenTask

public ResourceGenTask()
Method Detail

addConfiguredResource

public void addConfiguredResource(org.apache.tools.ant.types.FileSet fs)

setDestDir

public void setDestDir(File dir)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

istack common utility code 2.6.1-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.