Code example for Properties

Methods: loadFromXML

0
    } 
 
    private Properties load() throws IOException
    { 
        FileInputStream in = null;
        Properties props = new Properties();
 
        try 
        { 
            in = new FileInputStream(persistenceFile);
            props.loadFromXML(in);
        } 
        finally 
        { 
            if (in != null)
            { 
                in.close();
            } 
        } 
        return props;
Experience pair programming with AI  Get Codota for Java