org.ogf.saga.url
Class URLFactory
java.lang.Object
org.ogf.saga.url.URLFactory
public abstract class URLFactory
- extends Object
Factory for URLs.
URLFactory
public URLFactory()
createURL
public static URL createURL(String url)
throws BadParameterException,
NoSuccessException
- Creates an URL object from the specified string.
- Parameters:
url - the URL as a string.
- Throws:
BadParameterException - is thrown when there is a syntax error in the parameter.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
createURL
public static URL createURL(String sagaFactoryClassname,
String url)
throws BadParameterException,
NoSuccessException
- Creates an URL object from the specified string.
- Parameters:
sagaFactoryClassname - the class name of the Saga factory to be used.url - the URL as a string.
- Throws:
BadParameterException - is thrown when there is a syntax error in the parameter.
NoSuccessException - is thrown if the implementation cannot create valid
default values based on the available information.
The SAGA Java language bindings, version-1.1.1