Package org.pkl.core.resource
Class Resource
java.lang.Object
org.pkl.core.resource.Resource
An external (file, HTTP, etc.) resource.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Resource
Constructs a resource.
-
-
Method Details
-
getUri
Returns the URI of this resource. -
getBytes
public byte[] getBytes() -
getText
Returns the text content of this resource. -
getBase64
Returns the content of this resource in Base64.
-