|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.common.Utility
public class Utility
A utility class that contains a few common utility/helper functions used in Pegasus. At present they are preliminary URL decomposition functions.
| Constructor Summary | |
|---|---|
Utility()
|
|
| Method Summary | |
|---|---|
static String |
getAbsolutePath(String url)
It returns the absolute path of the url. |
static String |
getHostName(String urlPrefix)
This returns the host name of the server, given a url prefix. |
static String |
pruneURLPrefix(String url)
Prunes the url prefix to ensure that only the url prefix as wanted by Pegasus goes through. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utility()
| Method Detail |
|---|
public static String getHostName(String urlPrefix)
urlPrefix - the urlPrefix of the server.
public static String pruneURLPrefix(String url)
url - the url prefix.
public static String getAbsolutePath(String url)
url - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||