PropertyResourceBundle entities; InputStream is = null; BufferedReader reader = null; int index; String name; String value; int code; String line;  boolean noExtraEntities = true;         entities = loadEntitiesResource(entitiesResource); if (null != entities) { Enumeration enum = entities.getKeys(); while (enum.hasMoreElements()){ name = (String) enum.nextElement(); value = entities.getString(name); code = Integer.parseInt(value); defineEntity(name, (char) code); if (extraEntity(code)) noExtraEntities = false; } set(S_LINEFEED); set(S_CARRIAGERETURN); } else {
this(entitiesResource, false); }
    private CharInfo(String entitiesResource)    {        PropertyResourceBundle entities;        InputStream is = null;        BufferedReader reader = null;        int index;        String name;        String value;        int code;        String line;                boolean noExtraEntities = true;        // Make various attempts to interpret the parameter as a properties        // file or resource file, as follows:        //        //   1) attempt to load .properties file using ResourceBundle        //   2) try using the class loader to find the specified file a resource        //      file        //   3) try treating the resource a URI        entities = loadEntitiesResource(entitiesResource);        if (null != entities) {            Enumeration enum = entities.getKeys();            while (enum.hasMoreElements()){                name = (String) enum.nextElement();                value = entities.getString(name);                code = Integer.parseInt(value);                defineEntity(name, (char) code);                if (extraEntity(code))                    noExtraEntities = false;            }            set(S_LINEFEED);            set(S_CARRIAGERETURN);        } else {