Package org.apache.commons.io.function
Interface IORunnable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
Runnable but throws IOException.- Since:
- 2.12.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault Runnablevoidrun()LikeRunnable.run()but throwsIOException.
-
Method Details
-
asRunnable
- Returns:
- an UncheckedIOException Predicate.
-
run
LikeRunnable.run()but throwsIOException.- Throws:
IOException- if an I/O error occurs.
-