org.ow2.weblab.repository.file
Class RepoRI
java.lang.Object
org.ow2.weblab.repository.file.RepoRI
public class RepoRI
- extends java.lang.Object
|
Constructor Summary |
RepoRI(java.lang.String uriStr)
Create a WebLabRI with tests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WLRI_REGEX
public static final java.lang.String WLRI_REGEX
- See Also:
- Constant Field Values
WLRI_SCHEME
public static final java.lang.String WLRI_SCHEME
- See Also:
- Constant Field Values
RepoRI
public RepoRI(java.lang.String uriStr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Create a
WebLabRI with tests.
- Parameters:
uriStr - a string representation of the WebLabRI
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException
addFragment
public void addFragment(java.lang.String fragmentToAdd)
- Complete a
WebLabRI fragment with a String
- Parameters:
fragmentToAdd - Added to the WebLabRI fragment
getIdReference
public java.lang.String getIdReference()
- Returns:
- the
idReference
getIdResource
public java.lang.String getIdResource()
- Returns:
- the
idReference
getFragment
public java.lang.String getFragment()
- Returns:
- the
fragment
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
checkValidity
public static boolean checkValidity(java.lang.String uri)
- Parameters:
uri - Any String to be validated
- Returns:
true if and only if the URI is a valid RepoRI
Copyright © 2004-2012. All Rights Reserved.