log.info("Using default values for DN components");
log.debug("Using default values for DN components");
    private static void load() {        // Read the file to an array of lines         String line;        LinkedHashMap map = new LinkedHashMap();        BufferedReader in = null;        InputStreamReader inf = null;        try        {                InputStream is = obj.getClass().getResourceAsStream("/dncomponents.properties");            //log.info("is is: " + is);            if (is != null) {                inf = new InputStreamReader(is);                //inf = new FileReader("c:\\foo.properties");                in = new BufferedReader(inf);                if (!in.ready())                    throw new IOException();                String[] splits = null;                while ((line = in.readLine()) != null) {                    splits = StringUtils.split(line, '=');                    if ( (splits != null) && (splits.length > 1) ) {                        String name = splits[0];                         DERObjectIdentifier oid = new DERObjectIdentifier(splits[1]);                        map.put(name, oid);                    }                }                in.close();                // Now we have read it in, transfer it to the main oid map                log.info("Using DN components from properties file");                oids.clear();                oids.putAll(map);                Set keys = map.keySet();                /*                Iterator keyIter = keys.iterator();                while (keyIter.hasNext()) {                    System.out.println((String)keyIter.next());                }                Collection values = map.values();                Iterator valueIter = values.iterator();                while (valueIter.hasNext()) {                    DERObjectIdentifier oid = (DERObjectIdentifier)valueIter.next();                    System.out.println(oid.getId());                }                */                // Set the maps to the desired ordering                dNObjectsForward = (String[])keys.toArray(new String[0]);                            } else {                log.info("Using default values for DN components");                            }        }        catch (IOException e) {            log.info("Using default values for DN components");        } finally {            try {                if (inf != null) inf.close();                if (in != null) in.close();                            } catch (IOException e) {}        }    }