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
  • Field Details

    • locale

      final Locale locale
  • Constructor Details

  • Method Details

    • 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