|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.util.ResourcePath
public class ResourcePath
Helps with the location of file resources relative to the deployed application.
This class has no static methods or members to ensure a proper class loader.
| Constructor Summary | |
|---|---|
ResourcePath()
Default constructor. |
|
| Method Summary | |
|---|---|
InputSource |
makeInputSource(String path)
Returns an InputSource for a resource. |
URL |
makeUrl(String path)
Returns the URL associated with a resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourcePath()
| Method Detail |
|---|
public InputSource makeInputSource(String path)
throws IOException
path - the path for the resource (relative to WEB-INF/classes)
IOException - if the URL associated with the resource path cannot be generated
public URL makeUrl(String path)
throws IOException
path - the path for the resource (relative to WEB-INF/classes)
IOException - if the URL cannot be generated
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||