ModuleReader (Java SE 25 & JDK 25)
- All Superinterfaces:
AutoCloseable, Closeable
-
Method Summary
voidclose()Closes the module reader.
Finds a resource, returning a URI to the resource in the module.
list()Lists the contents of the module, returning a stream of elements that are the names of all resources in the module.
Opens a resource, returning an input stream to read the resource in the module.
Reads a resource, returning a byte buffer with the contents of the resource.
default void
-
Method Details
-
find
-
open
-
read
-
release
-
list
-
close
-