+ this(sessionDir1,extVamDoc,null);\r
+ }\r
+ /**\r
+ * sets up the vamsas session files and watchers in sessionDir1\r
+ * \r
+ * @param sessionDir1\r
+ * @param extVamDoc\r
+ * null or an existing archive to initialise the session with\r
+ * @param preferredName - optional string to use to generate a new session URI\r
+ * @throws any\r
+ * IOExceptions from creating session directory and files.\r
+ * @throws error\r
+ * if both extVamDoc and sessionDir1 already exist (cannot import\r
+ * new data into session in this way)\r
+ * MalformedURI if preferredName cannot be used to derive a URI of the form simpleclient::preferredName\r
+ */\r
+ public VamsasSession(File sessionDir1, File extVamDoc, String preferredName) throws IOException {\r