-
Notifications
You must be signed in to change notification settings - Fork 2
gjoseph/WiseIO
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
WiseIO is meant to be a *small* and *simple* library, to perform IO operations and handle IOExceptions properly. Made rather redundant with Java 7's try-with-resources.
You've always been bothered by IOExceptions and how you really should handle them when closing and flushing your streams, but were tired of the boilerplate? You've always thought IOUtils.closeSilently() in a finally block was a huge mistake but still the best you could afford ? This is for you.
final Properties props = new Properties();
new ClosingIO<InputStream>(in, new IOOperation() {
public void op() throws IOException {
props.load(in);
}
}).exec();
About
A small and simple Java library to help cope correctly with IOExceptions
Resources
Stars
Watchers
Forks
Packages 0
No packages published