3940414243444546
public void load() { try { this.load0(); } catch (final IOException ioException) { throw new UncheckedIOException(ioException); } }
99100101102103104105106107108
writer.print(replacer.execute(line)); addNewLine = true; } } catch (final IOException caught) { throw new UncheckedIOException(caught); } finally { InputOutput.closeIfNecessary(reader); } }
434445464748495051
public void load(final String fileName) { Checker.notEmpty("parameter:fileName", fileName); final InputStream file = this.getClass().getResourceAsStream(fileName); if (null == file) { throw new UncheckedIOException("Unable to find properties file \"" + fileName + "\"."); } this.merge(file); }
54555657585960616263
Checker.notNull("parameter:inputStream", inputStream); try { this.getValues().load(inputStream); } catch (final IOException io) { throw new UncheckedIOException(io); } finally { InputOutput.closeIfNecessary(inputStream); } }