1 package uk.ac.vamsas.test.simpleclient;
5 import uk.ac.vamsas.client.simpleclient.SessionUrn;
8 * Tests simple client sessionURN creation
12 public class TestSessionURN {
14 public static void main (String [] arg) throws Exception
17 if (arg == null || arg.length ==0)
22 File f = new File (file);
23 SessionUrn urn = new SessionUrn(f);
24 System.out.println("urn "+urn.getSessionUrn());
25 System.out.println("urn file "+ urn.asFile().getAbsolutePath());
26 System.out.println("urn file exists?"+ urn.asFile().exists());