| Constructor and Description |
|---|
UrlAsset(URL url)
Create a new resource with a
URL source. |
| Modifier and Type | Method and Description |
|---|---|
URL |
getSource()
Returns the loaded URL.
|
InputStream |
openStream()
Open the
URL stream. |
String |
toString() |
public UrlAsset(URL url)
URL source.url - A valid URLIllegalArgumentException - URL can not be nullpublic InputStream openStream()
URL stream.openStream in interface Assetpublic URL getSource()
public String toString()
toString in class ObjectObject.toString()Copyright © 2024 JBoss by Red Hat. All rights reserved.