org.gcube.common.uri.ap
Class PropertyAP

java.lang.Object
  extended by 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

Field Summary
static String AUTHORITY_PROPERTY
          The system property for the naming authority.
 
Constructor Summary
PropertyAP()
           
 
Method Summary
 String authority()
          Returns the naming authority for a URI produced by a Mint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORITY_PROPERTY

public static final String AUTHORITY_PROPERTY
The system property for the naming authority.

See Also:
Constant Field Values
Constructor Detail

PropertyAP

public PropertyAP()
Method Detail

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.