CompileProperties.java revision 797
1096N/A * definition of a java.util.Properties subclass which can then be
1096N/A * Usage: java CompileProperties [path to .properties file] [path to .java file to be output] [super class]
1096N/Apublic class CompileProperties {
if ( !ok ) {
static interface Log {
private boolean quiet = false;
if ( e != null ) {
e.printStackTrace();
if (!quiet)
boolean ok = true;
ok = false;
ok = false;
if ( !ok ) {
return ok;
boolean ok = true;
compileCount++;
ok = false;
ok = false;
} catch ( IOException e ) {
ok = false;
} catch ( IOException e ) {
ok = false;
if ( !ok ) {
quiet = true;
ok = false;
return ok;
boolean ok = true;
} catch ( FileNotFoundException e ) {
ok = false;
} catch ( IOException e ) {
ok = false;
if ( ok ) {
} catch ( IOException e ) {
ok = false;
} catch ( IOException e ) {
ok = false;
} catch ( IOException e ) {
ok = false;
return ok;
log.info(" java CompileProperties {-compile path_to_properties_file path_to_java_output_file super_class} -or- -optionsfile filename");
log.info(" java CompileProperties -compile test.properties test.java java.util.ListResourceBundle");
switch(aChar) {
int i = inEnd;
int j = outEnd;
inStart = i;
if (i < inEnd) {
return result;
private static final char[] hexDigit = {