AHA
Class Derive
java.lang.Object
|
+--AHA.Derive
- public class Derive
- extends java.lang.Object
Derive is a utility class, used for deriving information from an URL
If the requested information is not available then a AhaException is thrown.
Constructor Summary |
Derive(java.lang.String uri)
The normal constructor. |
Method Summary |
java.lang.String |
getCourse()
This filters out the course from the url-String |
java.lang.String |
getDoc()
Returns the name of a docfile from the url-String |
java.lang.String |
getLoginid()
The method getLoginid returns the loginid information from the url-String. |
java.lang.String |
getTest()
Returns the name of a testfile from the url-String |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Derive
public Derive(java.lang.String uri)
- The normal constructor. Stores a url-String.
getLoginid
public java.lang.String getLoginid()
throws AhaException
- The method getLoginid returns the loginid information from the url-String.
getCourse
public java.lang.String getCourse()
throws AhaException
- This filters out the course from the url-String
getTest
public java.lang.String getTest()
throws AhaException
- Returns the name of a testfile from the url-String
getDoc
public java.lang.String getDoc()
throws AhaException
- Returns the name of a docfile from the url-String