public class Utility extends Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static String getHostName(String urlPrefix)
urlPrefix
- the urlPrefix of the server.public static String pruneURLPrefix(String url)
url
- the url prefix.Copyright © 2011 The University of Southern California. All Rights Reserved.