org.eigenbase.resgen
Class PropertiesFileTask
java.lang.Object
org.eigenbase.resgen.FileTask
org.eigenbase.resgen.PropertiesFileTask
class PropertiesFileTask
- extends FileTask
Ant task which processes a properties file and generates a C++ or Java class
from the resources in it.
- Since:
- 19 September, 2005
- Version:
- $Id: //open/util/resgen/src/org/eigenbase/resgen/PropertiesFileTask.java#4 $
- Author:
- jhyde
Method Summary |
(package private) void |
process(ResourceGen generator)
Given an existing properties file such as
happy/Birthday_fr_FR.properties , generates the
corresponding Java class happy.Birthday_fr_FR.java. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locale
final Locale locale
PropertiesFileTask
PropertiesFileTask(ResourceGenTask.Include include,
String fileName)
process
void process(ResourceGen generator)
throws IOException
- Given an existing properties file such as
happy/Birthday_fr_FR.properties
, generates the
corresponding Java class happy.Birthday_fr_FR.java.
todo: Validate.
- Specified by:
process
in class FileTask
- Throws:
IOException