org.ogf.saga.url
Class URLFactory
java.lang.Object
org.ogf.saga.url.URLFactory
public abstract class URLFactory
- extends Object
Factory for URLs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLFactory
public URLFactory()
doCreateURL
protected abstract URL doCreateURL(String url)
throws BadParameterException,
NoSuccessException
- Throws:
BadParameterException
NoSuccessException
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.
Copyright © 2014 Open Grid Forum. All rights reserved.