@FunctionalInterface
public interface IORunnable
Runnable but throws IOException.| Modifier and Type | Method and Description |
|---|---|
default java.lang.Runnable |
asRunnable()
Creates a
Runnable for this instance that throws UncheckedIOException instead of IOException. |
void |
run()
Like
Runnable.run() but throws IOException. |
default java.lang.Runnable asRunnable()
Runnable for this instance that throws UncheckedIOException instead of IOException.void run() throws java.io.IOException
Runnable.run() but throws IOException.java.io.IOException - if an I/O error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved