|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.vamsas.client.SessionUrn
uk.ac.vamsas.client.simpleclient.SessionUrn
SessionUrn for simpleclient sessions: simpleclient://{Absolute path to session directory} For simpleclient urn, it consideres as on the same machine, using the path to the session directory to generate the session URN
Field Summary | |
static java.lang.String |
SIMPLECLIENT
a simple client session urn prefix |
static java.lang.String |
VAMSASDOCUMENT
|
Fields inherited from class uk.ac.vamsas.client.SessionUrn |
TYPES, urn |
Constructor Summary | |
SessionUrn(java.io.File sessionLocation)
Generates a sessionURN bases on a session directory location |
|
SessionUrn(java.lang.String urnString)
Creates a SessionUrn object from a String. |
|
SessionUrn(VamsasSession session)
Generates a sessionURN bases on a vamsas session |
Method Summary | |
java.io.File |
asFile()
TODO: LATER: think about this again. |
Methods inherited from class uk.ac.vamsas.client.SessionUrn |
getSessionUrn, setURN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SIMPLECLIENT
public static java.lang.String VAMSASDOCUMENT
Constructor Detail |
public SessionUrn(java.lang.String urnString) throws InvalidSessionUrnException
urnString
-
InvalidSessionUrnException
public SessionUrn(java.io.File sessionLocation)
sessionLocation
- the file object to the session directorypublic SessionUrn(VamsasSession session)
session
- a VamsasSession
Should return the same URN string than the creation with the
session directoryMethod Detail |
public java.io.File asFile()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |