Uses of Class
de.aristaflow.adept2.util.io.IoTools.Unchecked
-
Packages that use IoTools.Unchecked Package Description de.aristaflow.adept2.util.io -
-
Uses of IoTools.Unchecked in de.aristaflow.adept2.util.io
Methods in de.aristaflow.adept2.util.io that return IoTools.Unchecked Modifier and Type Method Description static <C extends AutoCloseable>
IoTools.Unchecked<C>IoTools. unchecked(C closeable)Wraps the designatedAutoCloseablein an unconditionalAutoCloseablethat in turn wraps any checked exceptions thrown byAutoCloseable.close()in aRuntimeException.static <C extends AutoCloseable>
IoTools.Unchecked<C>IoTools. unchecked(Supplier<Boolean> condition, C closeable)Wraps the designatedAutoCloseablein a conditionalAutoCloseablethat in turn wraps any checked exceptions thrown byAutoCloseable.close()in aRuntimeException.
-