uk.ac.vamsas.client.simpleclient
Class ArchiveUrn

java.lang.Object
  extended byuk.ac.vamsas.client.SessionUrn
      extended byuk.ac.vamsas.client.simpleclient.ArchiveUrn

public class ArchiveUrn
extends SessionUrn

Vamsas Document URN for files understood by ArchiveReader and written by VamsasArchive. vdoc://{Absolute path to file}

Author:
jimp

Field Summary
static java.lang.String VAMSASDOCUMENT
          a simple vamsas document urn prefix
 
Fields inherited from class uk.ac.vamsas.client.SessionUrn
TYPES, urn
 
Constructor Summary
ArchiveUrn(java.io.File docLocation)
           
 
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

VAMSASDOCUMENT

public static java.lang.String VAMSASDOCUMENT
a simple vamsas document urn prefix

Constructor Detail

ArchiveUrn

public ArchiveUrn(java.io.File docLocation)
           throws java.net.MalformedURLException
Method Detail

asFile

public java.io.File asFile()
TODO: LATER: think about this again.

Returns:
File(urn.getPath())