public interface Resource
ResourceLoader
.Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
Get the relative resource name.
|
long |
getSize() |
Get the size of the resource, if known.
|
URL |
getURL() |
Get the complete URL of this resource.
|
InputStream |
openStream() |
Open an input stream to this resource.
|
String getName()
URL getURL()
InputStream openStream() throws IOException
IOException
- if an I/O error occurslong getSize()
Copyright © 2022 JBoss by Red Hat. All rights reserved.