Package org.pkl.core.module
Class ModulePathResolver
java.lang.Object
org.pkl.core.module.ModulePathResolver
- All Implemented Interfaces:
AutoCloseable
Resolves
modulepath URIs from ZIP or JAR files, or from directory paths.
NOTE: Do not initialize two resolvers for the same jar or zip file. Instead, share the same resolver for that jar or zip file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static ModulePathResolverempty()booleanhasElement(URI elementUri)
-
Constructor Details
-
ModulePathResolver
-
-
Method Details
-
empty
-
resolve
- Throws:
IOException
-
hasElement
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-