// create client instance
IClient client = null;
+ // TODO: implement 'opening stored session' opening mechanism
+ // 1. existing session document URL is vdoc://... ?
+ // 2. check for sessionUrn being of this form.
+ // 3. if it is - locate the file and pass to new VamsasSession
+
try {
File sessionDirectory = this.convertSessionUrnToFile(sessionUrn);
// create session
.debug("found session directory "
+ sessionDirectory.getAbsolutePath());
VamsasSession vamsasSession = new VamsasSession(sessionDirectory);
-
+
/*
* if (userId == null) { //create a default userHandle //with current OS
* user and hostname userId = new UserHandle(System.getProperty("user.name",