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