|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eigenbase.resgen.FileTask
org.eigenbase.resgen.PropertiesFileTask
class PropertiesFileTask
Ant task which processes a properties file and generates a C++ or Java class from the resources in it.
Field Summary | |
---|---|
(package private) java.util.Locale |
locale
|
Fields inherited from class org.eigenbase.resgen.FileTask |
---|
className, cppClassName, fileName, include, outputCpp, outputJava |
Constructor Summary | |
---|---|
PropertiesFileTask(ResourceGenTask.Include include,
java.lang.String fileName)
|
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 org.eigenbase.resgen.FileTask |
---|
checkUpToDate, configureCommentStyle, generateJava, getDestDirectory, getFile, getFileForComments, getResourceDirectory, getSrcDirectory, makeParentDirs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final java.util.Locale locale
Constructor Detail |
---|
PropertiesFileTask(ResourceGenTask.Include include, java.lang.String fileName)
Method Detail |
---|
void process(ResourceGen generator) throws java.io.IOException
happy/Birthday_fr_FR.properties
, generates the
corresponding Java class happy.Birthday_fr_FR.java.
todo: Validate.
process
in class FileTask
java.io.IOException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |