net.sf.sail.core.curnit
Class PodArchiveResolver
java.lang.Object
net.sf.sail.core.curnit.PodArchiveResolver
public class PodArchiveResolver
- extends java.lang.Object
Used to look up the URL of the archive backing a Pod.
Currently it's shared on the VM, which may not be a problem as Pod's have
universally unique ids. We'll have to think about this with regards to
versioning.
- Author:
- turadg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PodArchiveResolver
public PodArchiveResolver()
put
public void put(PodUuid podId,
java.net.URL url)
- Parameters:
podId
- url
- base URL of in-pod resources
getUrl
public java.net.URL getUrl(PodUuid podId)
dump
public void dump(java.io.PrintStream out)
getPodArchive
public static java.net.URL getPodArchive(PodUuid anyPodId)
getSystemResolver
public static PodArchiveResolver getSystemResolver()
withinPodArchive
public static java.net.URL withinPodArchive(Pod pod,
java.lang.String path)
Copyright © 2004-2008 TELS Center. All Rights Reserved.