A module reference is a concrete implementation of this class that implements the abstract methods defined by this class. It contains the module's descriptor and its location, if known. It also has the ability to create a ModuleReader
in order to access the module's content, which may be inside the Java run-time system itself or in an artifact such as a modular JAR file.
Constructors
protected
Constructs a new instance of this class.
Returns the module descriptor.
Returns the location of this module's content, if known.
Opens the module content for reading.
Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructs a new instance of this class.
descriptor
- The module descriptor
location
- The module location or null
if not known
Returns the module descriptor.
This URI, when present, can be used as the location value of a CodeSource
so that a module's classes can be granted specific permissions when loaded by a SecureClassLoader
.
Optional
if not known
Opens the module content for reading.
ModuleReader
to read the module
IOException
- If an I/O error occurs
SecurityException
- If denied by the security manager
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4