/** * Loads the properties in <code>in</code>, according to the rules * described in {@link Properties#load}. If {@link #getAllowDuplicates} * returns <code>true</code>, this will throw a {@link * DuplicateKeyException} if duplicate property declarations are * encountered. * * @see Properties#load */ public synchronized void load(InputStream in) throws IOException { isLoading = true; try { loadProperties(in); } finally { isLoading = false; } }
/** * Loads the properties in <code>in</code>, according to the rules * described in {@link Properties#load}. If {@link #getAllowDuplicates} * returns <code>true</code>, this will throw a {@link * DuplicateKeyException} if duplicate property declarations are * encountered. * * @see Properties#load */ public synchronized void load(InputStream in) throws IOException { isLoading = true; try { loadProperties(in); } finally { isLoading = false; } }
/** * Loads the properties in <code>in</code>, according to the rules * described in {@link Properties#load}. If {@link #getAllowDuplicates} * returns <code>true</code>, this will throw a {@link * DuplicateKeyException} if duplicate property declarations are * encountered. * * @see Properties#load */ public void load(InputStream in) throws IOException { isLoading = true; try { loadProperties(in); } finally { isLoading = false; } }
/** * Loads the properties in <code>in</code>, according to the rules * described in {@link Properties#load}. If {@link #getAllowDuplicates} * returns <code>true</code>, this will throw a {@link * DuplicateKeyException} if duplicate property declarations are * encountered. * * @see Properties#load */ public synchronized void load(InputStream in) throws IOException { isLoading = true; try { loadProperties(in); } finally { isLoading = false; } }