Class 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 Detail

      • locale

        final java.util.Locale locale
    • Method Detail

      • process

        void process​(ResourceGen generator)
              throws java.io.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:
        java.io.IOException