org.gcube.common.uri.ap
Class PropertyAP
java.lang.Object
org.gcube.common.uri.ap.PropertyAP
- All Implemented Interfaces:
- AuthorityProvider
public class PropertyAP
- extends Object
- implements AuthorityProvider
An AuthorityProvider that returns the authority specified as the value of the system property AUTHORITY_PROPERTY.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTHORITY_PROPERTY
public static final String AUTHORITY_PROPERTY
- The system property for the naming authority.
- See Also:
- Constant Field Values
PropertyAP
public PropertyAP()
authority
public String authority()
- Description copied from interface:
AuthorityProvider
- Returns the naming authority for a URI produced by a
Mint.
- Specified by:
authority in interface AuthorityProvider
- Returns:
- the authority
Copyright © 2013. All Rights Reserved.