Package org.pkl.core
Class ModuleSource
java.lang.Object
org.pkl.core.ModuleSource
A representation for a Pkl module's source URI, and optionally its source text.
Create a new module source via create(URI, String), or one of the various helper
factory methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleSourcestatic ModuleSourcestatic ModuleSourcegetUri()static ModuleSourcemodulePath(String path) static ModuleSourcestatic ModuleSourcestatic ModuleSourcestatic ModuleSourcestatic ModuleSource
-
Method Details
-
create
-
path
-
path
-
text
-
file
-
file
-
uri
-
uri
-
modulePath
-
getUri
-
getContents
-