Uses of Class
nl.uva.vlet.vrl.VRL

Packages that use VRL
nl.uva.vlet   
nl.uva.vlet.util   
nl.uva.vlet.vfs   
nl.uva.vlet.vrl   
nl.uva.vlet.vrs   
nl.uva.vlet.vrs.http   
 

Uses of VRL in nl.uva.vlet
 

Methods in nl.uva.vlet that return VRL
static VRL GlobalConfig.getBaseLocation()
          Returns (code) base location of 'this' class or Applet URL.
static VRL Global.getCodeBaseLocation()
          Returns base location of installed code of Global class
static VRL Global.getHelpUrl(java.lang.String string)
           
static VRL Global.getInstallationBinDir()
          Returns vlet.install.bindir property or (default) VLET_INSTALL/bin
static VRL Global.getInstallationConfigDir()
          Returns vlet.install.sysconfdir property or (default) VLET_INSTALL/etc
static VRL GlobalConfig.getInstallationConfigDir()
           
static VRL Global.getInstallationDocDir()
          Returns vlet.install.libdir property or (default) VLET_INSTALL/lib
static VRL Global.getInstallationLibDir()
          Returns vlet.install.libdir property or (default) VLET_INSTALL/lib
static VRL Global.getInstallBaseDir()
          Returns base dir of installed software a.k.a VLET_INSTALL.
static VRL Global.getUserConfigDir()
          Get VFS compatible User Configuration VRL.
static VRL Global.getUserHomeLocation()
          Get VFS compatible User Home VRL.
static VRL GlobalConfig.getUserHomeLocation()
           
 

Methods in nl.uva.vlet with parameters of type VRL
static void Global.loadJarsFrom(VRL location)
          Loads all jars found in the specified location.
static java.util.Properties Global.loadProperties(VRL loc)
          Load properties file from specified location.
IMPORTANT: When this method is used and the URL stream factory handler HAS NOT BEEN SET, only default url schemes can be used ! (file:/,http://).
static void Global.saveProperties(VRL loc, java.util.Properties props)
          Save properties file to specified location.
 

Uses of VRL in nl.uva.vlet.util
 

Methods in nl.uva.vlet.util that return VRL
 VRL VAttribute.getVRL()
           
 

Methods in nl.uva.vlet.util with parameters of type VRL
static java.io.InputStream ResourceLoader.getInputstream(VRL uri)
          Returns an inputstream from the specified URI.
static java.io.OutputStream ResourceLoader.getOutputStream(VRL vrl)
           
static java.lang.String ResourceLoader.getText(VRL loc)
           
static java.lang.String ResourceLoader.getText(VRL location, int maxSize, java.lang.String charset)
           
 

Constructors in nl.uva.vlet.util with parameters of type VRL
VAttribute(java.lang.String name, VRL url)
           
 

Uses of VRL in nl.uva.vlet.vfs
 

Methods in nl.uva.vlet.vfs that return VRL
 VRL VFSTransfer.getDestination()
           
 VRL VDir.getHelp()
           
 VRL VFile.getHelp()
           
 VRL VFSNode.getLinkTargetVRL()
          Return LinkTarget is VRL
 VRL VFSTransfer.getRootDestination()
           
 VRL VFSTransfer.getSource()
           
 

Methods in nl.uva.vlet.vfs with parameters of type VRL
 void VFSTransfer.addSource(VRL vrl)
           
 void VFSTransfer.addSources(VRL[] vrls)
          Add extra source VRL to the source list, when recursive copying a directory First source in the sources vector is the starting (root) source as specified at construction time.
 VFile VFile.copyTo(VRL destinationVrl)
          see copyToFile()
 VFile VFile.copyToDir(VRL destinationVrl)
          Copy this file to new destination location.
 VFile VFile.copyToFile(VRL destinationVrl)
          Copy this file to new destination location.
 VFile VFSClient.createFile(VRL filepath, boolean force)
          Create file.
 boolean VFSClient.existsDir(VRL location)
          Returns true if location is a VDir and it exists.
 boolean VFSClient.existsFile(VRL location)
          Returns true if location is a VFile and it exists.
 VDir VFSClient.getDir(VRL location)
          Returns VDir specified by the location
 VFile VFSClient.getFile(VRL location)
          Return VFile specified by the location
 VFSNode VFSClient.getVFSNode(VRL location)
          Return VFile specified by the location
 VDir VFSClient.mkdir(VRL loc)
          Recursive mkdir.
 VDir VFSClient.mkdir(VRL loc, boolean ignoreExisting)
          Recursive mkdir.
static VFSTransfer VFS.newTransfer(java.lang.String type, VRL source, VRL dest, boolean isMove)
           
static VFSTransfer VFSTransfer.newTransfer(java.lang.String type, VRL source, VRL dest, boolean isMove)
           
 VFSNode VFSClient.openLocation(VRL location)
          Return VFSNode pointing to the specified location
 boolean VFSClient.rename(VRL vrl, java.lang.String pathOrName)
          VFS Rename.
 boolean VFSClient.setTempDir(VRL loc)
           
 

Constructors in nl.uva.vlet.vfs with parameters of type VRL
VDir(VRSContext context, VRL vrl)
           
VFile(VRSContext context, VRL vrl)
           
VFSNode(VRSContext context, VRL vrl)
           
VFSTransfer(java.lang.String resourceType, VRL source, VRL destination, boolean isMove)
           
 

Uses of VRL in nl.uva.vlet.vrl
 

Methods in nl.uva.vlet.vrl that return VRL
 VRL VRL.clone()
           
 VRL VRL.duplicate()
          Same as 'clone()' Method is here for historical reasons.
 VRL VRL.duplicateWithAddedPath(java.lang.String dirname)
          Creates new location by appending path to this one
 VRL VRL.duplicateWithNewBasename(java.lang.String optNewName)
           
 VRL VRL.duplicateWithNewPath(java.lang.String newPath)
          Create duplicate, but setpath to newPath
 VRL VRL.duplicateWithNewPort(int val)
          Changing a port in a Location object is not allowed due to the immutable paradigm of Location object (similar to URIs), so to change a port a new object must be created with the changed value.
 VRL VRL.duplicateWithNewScheme(java.lang.String newscheme)
          Used for scheme subtitution
 VRL VRL.getBaseLocation()
          Returns base VRL without Query ("?...") or Fragment ("#...") part
 VRL VRL.getParent()
          Returns new location which *could* be the parent location
 VRL VRLConnection.getVRL()
           
 VRL VRL.plus(java.lang.String path)
          Add path and return new VRL
 VRL VRL.resolve(java.lang.String reluri)
          Resolves optional relative URI using this URI as base location.
 VRL VRL.resolvePath(java.lang.String relpath)
          Resolve DECODED (no %-chars) relative path against this URI, assuming this URI is a (directory) PATH and not a file or url location.
 

Methods in nl.uva.vlet.vrl with parameters of type VRL
 int VRL.compareTo(VRL loc)
          Compares this location to loc.
 boolean VRL.hasSameServer(VRL remoteLoc)
          Checks wether server hostname and port are the same
 boolean VRL.isParentOf(VRL subLocation)
          check whether URI (and path) is a parent location of subLocation.
 

Constructors in nl.uva.vlet.vrl with parameters of type VRL
VRL(VRL base, java.lang.String relpath)
          Creates new VRL, resolves relative Uri String to baseLocation.
VRL(VRL baseLocation, java.lang.String relativeUri, boolean useDirname)
           
 

Uses of VRL in nl.uva.vlet.vrs
 

Fields in nl.uva.vlet.vrs declared as VRL
 VRL[] ResourceEvent.childs
          child locations if applicable
 VRL ResourceEvent.location
          Single node or list of nodes for which this event applies
protected  VRL VNode.location
          The URI Compatable VRL or which specified the resource location
 VRL ResourceEvent.newLocation
          newLocation for rename events (old location=this.location)
 

Methods in nl.uva.vlet.vrs that return VRL
 VRL MyVLe.getHelp()
           
 VRL VCompositeNode.getHelp()
           
 VRL VNode.getHelp()
          Returns simple text file or complete HTML page.
 VRL LinkNode.getLinkTarget()
           
 VRL VNode.getLocation()
          See getVRL()
 VRL VServer.getServerVRL()
          Returns VRL which identifies this server.
 VRL ResourceEvent.getSource()
           
 VRL ResourceNode.getTargetVRL()
          Returns linkTarget location
 VRL VRSContext.getVirtualRootLocation()
          Returns Virtual Root VRL of top level Resource Tree.
 VRL VNode.getVRL()
          Returns Virtual Resource Locator (VRL) of this object.
 

Methods in nl.uva.vlet.vrs with parameters of type VRL
 ServerInfo VRS.checkUpdateServerInfo(ServerInfo info, VRL loc, boolean autoCreate)
          Check and update the ServerInfo object or create a new one.
static java.lang.String ServerInfo.createAccountID(VRL location)
           
static ResourceEvent ResourceEvent.createAttributesChangedEvent(VRL node, VAttribute[] attrs)
           
static ResourceEvent ResourceEvent.createBusyEvent(VRL node, boolean val)
           
static ResourceEvent ResourceEvent.createChildAddedEvent(VRL node, VRL child)
           
static ResourceEvent ResourceEvent.createChildsAddedEvent(VRL node, VRL[] childs)
           
static ResourceEvent ResourceEvent.createChildsAddedEvent(VRL node, VRL[] childs)
           
static ResourceEvent ResourceEvent.createDeletedEvent(VRL node)
           
static LinkNode LinkNode.createLinkNode(VRSContext context, VRL logicalLocation, VRL targetVRL)
          Creates new LinkNode object with logical location and specified linkTarget.
static LinkNode LinkNode.createLinkNode(VRSContext context, VRL logicalLocation, VRL targetVRL, boolean resolve)
           
static LinkNode LinkNode.createLinkTo(VRL parentLoc, java.lang.String name, VNode target)
          Main method to create a new LinkNode stored in parentLoc with name 'name' and with linkTarget the specified VNode target
static ResourceEvent ResourceEvent.createMessageEvent(VRL node, java.lang.String message)
           
static ResourceEvent ResourceEvent.createRefreshEvent(VRL node2)
           
static ResourceEvent ResourceEvent.createRenameEvent(VRL oldLocation, VRL newLocation)
           
static ResourceEvent ResourceEvent.createSetAttributeEvent(VRL source, java.lang.String name, java.lang.String value)
           
static ResourceEvent ResourceEvent.createSetChildsEvent(VRL node, VRL[] childs)
           
static ResourceEvent ResourceEvent.createSetChildsEvent(VRL node, VRL[] childs)
           
static void ResourceEvent.fireMessageEvent(VRL source, java.lang.String message)
           
 VAttribute[] Registry.getDefaultServerAttributesFor(VRL loc)
           
static ServerInfo ServerInfo.getServerInfoFor(VRL location, boolean autoCreate)
          Use location to get ServerInformation
 ServerInfo VRSContext.getServerInfoFor(VRL loc, boolean autoCreate)
          Get ServerInfo object used by this context.
 VFS Registry.getVFSFor(VRL loc)
           
 VRS Registry.getVRSFor(VRL loc)
           
protected  void ResourceNode.init(VRL logicalVRL, VRL targetVRL, boolean resolveLink)
           
static boolean Registry.isLocalLocation(VRL location)
           
static LinkNode LinkNode.loadFrom(VRSContext context, VRL loc)
          Load ResourceNode but return as LinkNode !
 VNode VRSContext.openLocation(VRL vrl)
          Perform openLocation using this VRSContext.
static VNode MyVLe.openLocation(VRSContext vrs, VRL location)
          Get "myvle:///" location.
 VNode Registry.openLocation(VRSContext context, VRL location)
          Registry openLocation, this is the master openLocation
abstract  VNode VRS.openLocation(VRSContext context, VRL location)
          Returns handler object (VNode) specified by the VRL (URI)
 void VRS.performAction(VRSContext vrsContext, java.lang.String string, VRL source, VRL dest)
          Current generic interface to perform a implementation specific method.
 void LinkNode.setLinkTarget(VRL linkTarget)
           
protected  void VNode.setLocation(VRL loc)
           
protected  void ResourceNode.setResourceVRL(VRL linkTarget)
           
protected  void VNode.setVRL(VRL loc)
          Only subclasses may change the location.
 

Constructors in nl.uva.vlet.vrs with parameters of type VRL
ResourceNode(VRSContext context, VRL vrl)
           
ServerInfo(VRL location)
          Constructs default authentication info for VRL
VCompositeNode(VRSContext context, VRL vrl)
           
VNode(VRSContext context, VRL vrl)
          Universal contructor.
 

Uses of VRL in nl.uva.vlet.vrs.http
 

Methods in nl.uva.vlet.vrs.http that return VRL
 VRL HTTPNode.getHelp()
           
 

Methods in nl.uva.vlet.vrs.http with parameters of type VRL
 VNode HTTPRS.openLocation(VRSContext context, VRL location)
           
 

Constructors in nl.uva.vlet.vrs.http with parameters of type VRL
HTTPNode(VRSContext context, VRL loc)