public static String [ ] getFilenames ( final String propertyName ) throws PropertyException { String filenames [ ] ; // check for singleton property first Object filename = PropertyManager . getProperty ( propertyName ) ; if ( filename != null ) { filenames = new String [ ] { String . valueOf ( filename ) } ; } else { // if no singleton property exists then look for array props filenames = PropertyManager . getArrayProperty ( propertyName ) ; } return filenames ; }
Get an array of filenames to load .