public abstract class LoaderResource extends Object
| Constructor and Description |
|---|
LoaderResource(String location) |
| Modifier and Type | Method and Description |
|---|---|
Document |
asDocument(DocumentBuilder builder) |
abstract InputStream |
asInputStream() |
Properties |
asProperties() |
Properties |
asProperties(boolean xml) |
String |
asString() |
String |
asString(String enc) |
abstract boolean |
exists() |
String |
getLocation() |
protected final String location
public LoaderResource(String location)
public abstract boolean exists()
public abstract InputStream asInputStream() throws IllegalStateException
IllegalStateExceptionpublic String getLocation()
public Document asDocument(DocumentBuilder builder) throws IllegalStateException
IllegalStateExceptionpublic Properties asProperties() throws IllegalStateException
IllegalStateExceptionpublic Properties asProperties(boolean xml) throws IllegalStateException
IllegalStateExceptionpublic String asString() throws IllegalStateException
IllegalStateExceptionpublic String asString(String enc) throws IllegalStateException
IllegalStateExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.