Uses of Class
nl.uva.vlet.exception.VlException

Packages that use VlException
nl.uva.vlet   
nl.uva.vlet.exception   
nl.uva.vlet.exec   
nl.uva.vlet.tasks   
nl.uva.vlet.util   
nl.uva.vlet.util.cog   
nl.uva.vlet.vfs   
nl.uva.vlet.vrl   
nl.uva.vlet.vrs   
nl.uva.vlet.vrs.http   
 

Uses of VlException in nl.uva.vlet
 

Methods in nl.uva.vlet with parameters of type VlException
static void Global.debugPrintException(java.lang.String className, VlException e)
          convenience method to check and print the VlException
 

Methods in nl.uva.vlet that throw VlException
static java.util.Properties Global.loadProperties(java.net.URL url)
           
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 java.util.Properties Global.loadPropertiesFromClasspath(java.lang.String urlstr)
          Load a property file specified on the classpath
static void Global.saveProperties(VRL loc, java.util.Properties props)
          Save properties file to specified location.
static void GlobalConfig.setUserHomeLocation(java.net.URL url)
           
 

Uses of VlException in nl.uva.vlet.exception
 

Subclasses of VlException in nl.uva.vlet.exception
 class AccessDeniedException
           
 class AttributeNotEditableException
           
 class AuthenticationException
           
 class InitializationException
          Service Implementation can throw this when an interface method is not (yet) implemented.
 class InterfaceMismatchException
           
 class LinkTargetException
           
 class NotEditableException
           
 class NotImplementedException
          Service Implementation can throw this when an interface method is not (yet) implemented.
 class ReadAccessDeniedException
          Read acces denied exception.
 class ResourceAlreadyExistsException
           
 class ResourceCreationFailedException
           
 class ResourceDeletionFailedException
           
 class ResourceException
           
 class ResourceNotFoundException
           
 class ResourceToBigException
           
 class ResourceTypeMismatchException
           
 class ResourceTypeNotSupportedException
          Resource type not supported.
 class ServiceTypeMismatchException
          Exception is thrown when a service type is requested which is not supported.
 class VlInterruptedException
           
 class VlIOException
           
 class VlServerException
          Exception is thrown when a service type is requested which is not supported.
 class VlURISyntaxException
           
 class WriteAccessDeniedException
           
 

Methods in nl.uva.vlet.exception that return VlException
static VlException VlException.newChainedException(java.lang.Exception e)
           
 

Uses of VlException in nl.uva.vlet.exec
 

Methods in nl.uva.vlet.exec that throw VlException
static LocalProcess LocalExec.execute(java.lang.String[] cmds, boolean wait)
          Execute cmds[0] and return Process object.
 void LocalProcess.execute(java.lang.String[] cmds, boolean syncWait)
           
 void VProcess.execute(java.lang.String[] cmds, boolean waitForCompletion)
          Execute command.
static java.lang.String[] LocalExec.simpleExecute(java.lang.String[] cmds)
          Direct execute command and return result as String array.
 void LocalProcess.waitFor()
           
 void VProcess.waitFor()
          Wait for the process to terminate.
 

Uses of VlException in nl.uva.vlet.tasks
 

Methods in nl.uva.vlet.tasks that return VlException
 VlException ActionTask.getVlException()
          Returns stored VlException only is the exception was of type VlException
 

Methods in nl.uva.vlet.tasks that throw VlException
protected abstract  void ActionTask.doTask()
          Start task.
 

Uses of VlException in nl.uva.vlet.util
 

Methods in nl.uva.vlet.util that throw VlException
static java.io.InputStream ResourceLoader.getInputstream(VRL uri)
          Returns an inputstream from the specified URI.
static java.lang.String MimeTypes.getMagicMimeType(byte[] firstBytes)
          Returns the MimeType by checking against known the 'Magic' attribute of a file.
static java.io.OutputStream ResourceLoader.getOutputStream(java.lang.String locstr)
           
static java.io.OutputStream ResourceLoader.getOutputStream(VRL vrl)
           
static java.lang.String ResourceLoader.getText(VNode node)
           
static java.lang.String ResourceLoader.getText(VRL loc)
           
static java.lang.String ResourceLoader.getText(VRL location, int maxSize, java.lang.String charset)
           
 VRL VAttribute.getVRL()
           
 

Uses of VlException in nl.uva.vlet.util.cog
 

Methods in nl.uva.vlet.util.cog that throw VlException
 boolean GridProxy.createWithPassword(java.lang.String string)
           
 java.lang.String GridProxy.getProxyAsString()
          Load proxy and return it as String uses ResourceLoader.DEFAULT_CHARSET (must match setGlobusCredential(String))
static GlobusCredential GridProxy.loadGlobusCredentialsFrom(java.lang.String path)
           
protected  void GridProxy.loadProxy()
          (re)load the proxy and it's configuration
static void GridProxy.reloadProxy()
          Triggers reloading of current proxy and it's settings
 boolean GridProxy.save()
          Save current proxy.
 boolean GridProxy.saveTo(java.lang.String path)
          Save to local path, does not update ProxyFilename in Globus properties
 void GridProxy.setGlobusCredential(java.lang.String proxyStr)
           
 

Uses of VlException in nl.uva.vlet.vfs
 

Methods in nl.uva.vlet.vfs that return VlException
 VlException VFSTransfer.getException()
           
 

Methods in nl.uva.vlet.vfs with parameters of type VlException
 void VFSTransfer.setException(VlException e)
           
 

Methods in nl.uva.vlet.vfs that throw VlException
 VFSNode VDir.addNode(VFSNode node, java.lang.String optNewName, boolean isMove)
           
 VFSNode VDir.addNode(VNode node, boolean isMove)
          Add (VFS)Node to this directory location.
 VFSNode VDir.addNode(VNode node, java.lang.String optNewName, boolean isMove)
           
 VFSNode[] VDir.addNodes(VFSNode[] nodes, boolean isMove)
           
 VNode[] VDir.addNodes(VNode[] nodes, boolean isMove)
          Add mutiple (VFS)Nodes to this directory location.
 VFSTransfer VFSClient.asyncCopy(VDir dir, VDir dest)
          Copy single VDir in background Returns TransgerInfo object which can be used to monitor the result
 VFSTransfer VFSClient.asyncCopy(VFile file, VDir dest)
          Copy single VFile in background.
 VFSTransfer VFSNode.asyncCopyMoveTo(VDir dest, java.lang.String optNewName, boolean isMove)
          Asynchronous transfer method to iniate a copy or a move.
 VFSTransfer VDir.asyncDownload(VNode source, java.lang.String optNewName, boolean isMove)
          Asynchronous transfer method to download an Resource Returns VFSTransfer info object so the transfer can be monitored.
 VFSTransfer VFSClient.asyncMove(VDir dir, VDir dest)
          Move single VDir in background Returns TransgerInfo object which can be used to monitor the result.
 VFSTransfer VFSClient.asyncMove(VFile file, VDir dest)
          Move single VFile in background.
 VDir VFSClient.copy(VDir dir, VDir dest)
          Copy single VDir
 VFile VFSClient.copy(VFile vfile, VDir dest)
          Copy VFile to remote (VDir) destination.
 VDir VDir.copyTo(VDir dest)
          Copy/Move to specified location is called by VFSClient.copyDir() ...
abstract  VFSNode VFSNode.copyTo(VDir dest)
           
 VFile VFile.copyTo(VDir dest)
          Copy this file to another VFS location.
 VDir VDir.copyTo(VDir dest, java.lang.String newName)
          Copy/Move to specified location is called by VFSClient.copyDir() ...
abstract  VFSNode VFSNode.copyTo(VDir dest, java.lang.String newName)
           
 VFile VFile.copyTo(VDir dest, java.lang.String newName)
          Copy this file to another VFS location.
 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.
 boolean VFSNode.create()
          Create this Resource.
 VAttribute[] VACL.createACLRecord(VAttribute entity, boolean writeThrough)
          Returns a new 'row' or ACLRecord for the entity.
 VAttribute[] VFSNode.createACLRecord(VAttribute entity, boolean writeThrough)
          Create a new ACL Record for the given ACL Entry, that is, a new row in the ACL[][] matrix returned in getACL().
 VFSNode VDir.createChild(java.lang.String type, java.lang.String name, boolean force)
          VDir implements createChild by calling createFile and createDir, depending on the type.
 VDir VDir.createDir(java.lang.String subdirName)
          Create subdirectory.
abstract  VDir VDir.createDir(java.lang.String name, boolean ignoreExisting)
          Creates subdirectory in this directory.
 VFile VDir.createFile(java.lang.String name)
          Create file in this Virtual Directory.
abstract  VFile VDir.createFile(java.lang.String name, boolean force)
          Create file in this Virtual Directory.
 VFile VFSClient.createFile(VRL filepath, boolean force)
          Create file.
protected static VFSTransfer VFSNode.createTransfer(VNode source, VDir dest, java.lang.String optNewName, boolean isMove)
           
protected  VFSTransfer VFSNode.createTransferTo(VDir dest, java.lang.String optNewName, boolean isMove)
           
protected static VDir VDir.defaultCopyMove(VFSTransfer transfer, VDir source, VDir dest, java.lang.String optNewName, boolean isMove)
          Default Copy/Move: performs recursive copy of a directory.
lists children and performs cmoveTo on childs.
protected: may only be used by subclasses if they do not have an optimized CopyMoveTo themselfs.
protected static boolean VDir.defaultRecursiveDeleteChildren(VDir dir)
          Default Recursive delete: lists children and perform delete() on child list.
 boolean VDir.delete()
          Non-recursive Delete.
Calles recursive delete from VComposite with resurse=false.
 boolean VACL.deleteACLEntity(VAttribute entity)
          Remove the entity from the ACL list, effectively removing all permission settings associated with the entity (Although this depends on the default permissions of the implementation).
 boolean VFSNode.deleteACLEntity(VAttribute entity)
          Delete entry in the ACL list or set permissions to none
 boolean VDir.delNode(VNode childNode)
          Delete node.
 boolean VDir.delNodes(VNode[] childNodes)
          Delete nodes.
protected  VDir VDir.doCopyMoveTo(VFSTransfer transfer, VDir dest, java.lang.String optNewName, boolean isMove)
          Default implementation to do actual copy/move.
protected  VFile VFile.doCopyMoveTo(VFSTransfer transfer, VDir dest, java.lang.String optNewName, boolean isMove)
          Default implementation to do actual copy/move.
 VFile VDir.downloadNode(VNode node, java.lang.String optNewName, boolean isMove)
          Create new VFile and copies contents from (VStreamreadable) vnode.
protected  VDir VDir.downloadTo(VFSTransfer transfer, VDir localDir, java.lang.String optNewName, boolean isMove)
          Default implementation to download this directory.
protected  VFile VFile.downloadTo(VFSTransfer transfer, VDir localDir, java.lang.String optNewName, boolean isMove)
          Default implemenation to download files, sub classes are encouraged to override this method if they have their own (better) methods.
abstract  boolean VFSNode.exists()
          Returns true if the VRL points to an existing object.
abstract  boolean VDir.existsDir(java.lang.String fileName)
          returns true whether child exists and is a VDir
abstract  boolean VDir.existsFile(java.lang.String fileName)
          returns true whether child exists and is a VFile
 VAttribute[][] VACL.getACL()
          Get a modifyable attribute matrix which represents the ACL list.
 VAttribute[][] VFSNode.getACL()
          Experimental ACL method: Default return simplist ACL of all.
 VAttribute[] VACL.getACLEntities()
          Returns list of all possible 'entities' which can have an ACL record entry in the list.
 VAttribute VFSNode.getAttribute(java.lang.String name)
          Returns single atttribute triplet
 VFSNode VDir.getChild(java.lang.String name)
          Get VFSNode
 VAttribute[][] VDir.getChildAttributes(java.lang.String[] names)
           
 VAttribute[][] VDir.getChildAttributes(java.lang.String[] childNames, java.lang.String[] names)
          Return attribute matrix for given nodes.
 VFSNode[] VDir.getChilds()
          default implementation calls the VDir method list()
 byte[] VFile.getContents()
          Read the whole contents and return in byte array.
 byte[] VFile.getContents(int len)
          Reads first len bytes into byte array
 byte[] VFile.getContents(long offset, int len)
          Reads first len bytes into byte array
 java.lang.String VFile.getContentsAsString()
           
 java.lang.String VFile.getContentsAsString(java.lang.String charSet)
          Read contents and return as single String.
 VDir VDir.getDir(java.lang.String dirname)
          Get subdirectory
 VDir VFSClient.getDir(java.lang.String locStr)
          Return VDir specified by the location string
 VDir VFSClient.getDir(VRL location)
          Returns VDir specified by the location
 VFile VDir.getFile(java.lang.String name)
          Get file in this directory
 VFile VFSClient.getFile(java.lang.String locStr)
          Return VFile specified by the location string
 VFile VFSClient.getFile(VRL location)
          Return VFile specified by the location
abstract  long VFile.getLength()
          Return length of this resource object
 java.lang.String VFSNode.getLinkTarget()
          Optional method to resolve (soft) links if this VFS Implementation supports it.
 VRL VFSNode.getLinkTargetVRL()
          Return LinkTarget is VRL
abstract  long VFSNode.getModificationTime()
          Return time of last modification in milli seconds after 'epoch' epoch = (1-jan-1970 GMT).
 VDir VFSNode.getParent()
          VFSnode implements getParent by calling VFSNode.getParentDir
 VNode[] VFSNode.getParents()
          Returns array whith one parent.
 VFSNode VFSNode.getPath(java.lang.String path)
          Fetch any VFSNode (VFile or VDir) with the specified absolute path
 java.lang.String VFSNode.getPermissionsString()
          Return unix-style permissions string
 VDir VFSNode.getRoot()
          Returns root directory of this directory/file system
 VDir VFSClient.getTempDir()
           
 VFSNode VFSClient.getVFSNode(VRL location)
          Return VFile specified by the location
 boolean VDir.hasChild(java.lang.String name)
           
 boolean VDir.isAccessable()
           
 boolean VFSNode.isDeletable()
           
 boolean VFSNode.isEditable()
           
 boolean VFSNode.isLink()
          Optional method for filesystems who support soft links.
abstract  boolean VFSNode.isReadable()
          Returns whether the object is readable using current user credentials.
 boolean VFSNode.isRenamable()
           
abstract  boolean VFSNode.isWritable()
          Returns whether the object is writable using current user credentials.
abstract  VFSNode[] VDir.list()
          This method is Similar to getChilds, but returns an array of VFSNodes.
The method getChilds returns an array of type VNode.
 VFSNode[] VDir.listSorted(boolean typeFirst, boolean ignoreCase)
          List the chidren and sorts them.
 VDir VFSClient.mkdir(VRL loc)
          Recursive mkdir.
 VDir VFSClient.mkdir(VRL loc, boolean ignoreExisting)
          Recursive mkdir.
 VDir VFSClient.move(VDir dir, VDir dest)
          VFS method to move single Dir
 VFile VFSClient.move(VFile file, VDir dest)
          Move VFile to remore (VDir) destination.
 VDir VDir.moveTo(VDir dest)
          Move to specified VDir location.
abstract  VFSNode VFSNode.moveTo(VDir dest)
           
 VFile VFile.moveTo(VDir dest)
          Moves file from one VFS location to another.
 VDir VDir.moveTo(VDir dest, java.lang.String newName)
          Move to specified VDir location.
abstract  VFSNode VFSNode.moveTo(VDir dest, java.lang.String newName)
           
 VFile VFile.moveTo(VDir dest, java.lang.String newName)
          Moves file from one VFS location to another.
 VFSNode VFSClient.openLocation(java.lang.String location)
          Return VFSNode pointing to the specified location
 VFSNode VFSClient.openLocation(VRL location)
          Return VFSNode pointing to the specified location
 VDir VDir.putDir(VDir dir)
          Put Directory (copy) Directory to this Directory is called by VFSClient.copyDir() ...
 VDir VDir.putDir(VDir dir, java.lang.String optNewName)
          Put Directory (copy) Directory to this Directory is called by VFSClient.copyDir() ...
 VFile VDir.putFile(VFile file)
          Put File (copy) to this directory is called by VFSClient.copyDir() ...
 VFile VDir.putFile(VFile file, java.lang.String optNewName)
          Put File (copy) to this directory is called by VFSClient.copyDir() ...
 int VFile.read(byte[] buffer, int nrOfBytes)
           
 int VFile.read(byte[] buffer, int bufferOffset, int nrOfBytes)
           
 int VFile.read(long offset, byte[] buffer, int bufferOffset, int nrOfBytes)
          Read from a (remote) VFile.
Method tries to use the RandomAccessable interface or the InputStream from VStreamReasable to read from.
 void CircularStreamBufferTransferer.readLoop()
           
 boolean VFSClient.rename(VRL vrl, java.lang.String pathOrName)
          VFS Rename.
 void VACL.setACL(VAttribute[][] acl)
          Set the modified ACL list
 void VFSNode.setACL(VAttribute[][] acl)
           
 boolean VFSNode.setAttribute(VAttribute attr)
          Set atribute.
 boolean VFSNode.setAttributes(VAttribute[] attrs)
           
 void VFile.setContents(byte[] bytes)
          Replace or create File contents with data from the bytes array.
 void VFile.setContents(java.lang.String contents)
          Set contents using specified String.
 void VFile.setContents(java.lang.String contents, java.lang.String encoding)
          Set contents using specified String and encoding.
 VFSNode VFSNode.startCopyMoveTo(VDir dest, java.lang.String optNewName, boolean isMove)
           
protected  VFSNode VFSNode.startCopyMoveTo(VFSTransfer transfer, VDir dest, java.lang.String optNewName, boolean isMove)
          Initiate a Copy or Move with the specified Transfer Information object.
 void CircularStreamBufferTransferer.startTransfer(long numTransfer)
          Transfer upto numTranfer bytes, or -1 for all
protected static VFile VFile.streamCopyMove(VFSTransfer transfer, VFile sourceFile, VDir destDir, java.lang.String optNewName, boolean isMove)
          This is the default way to copy file, by reading from the source file and writing it to a remote file.
 int VFile.streamRead(long offset, byte[] buffer, int bufferOffset, int nrOfBytes)
          use InputStream to read bytes, not the RandomAcces method readBytes.
 void VFile.streamWrite(byte[] buffer, int bufferOffset, int nrOfBytes)
          Uses OutputStream to write to method i.s.o.
protected  VDir VDir.uploadLocalDir(VFSTransfer transfer, VDir localDir, java.lang.String optNewName, boolean isMove)
          Default implementation to upload a directory.
protected  VFile VDir.uploadLocalFile(VFSTransfer transfer, VFile localFile, java.lang.String optNewName, boolean isMove)
          Default implementation to upload a local file to this directory.
 void VFile.write(byte[] buffer, int nrOfBytes)
           
 void VFile.write(byte[] buffer, int bufferOffset, int nrOfBytes)
           
 void VFile.write(long offset, byte[] buffer, int bufferOffset, int nrOfBytes)
          Write to VFile, note that not all implementations of VFile can write to (Remote) Files.
Use isRandomAccessable() first to determine whether this file can be randomly written to.
 

Uses of VlException in nl.uva.vlet.vrl
 

Methods in nl.uva.vlet.vrl that throw VlException
 VRL VRLConnection.getVRL()
           
 

Constructors in nl.uva.vlet.vrl that throw VlException
VRL(java.net.URL url)
           
 

Uses of VlException in nl.uva.vlet.vrs
 

Methods in nl.uva.vlet.vrs that throw VlException
protected  void ResourceNode._loadFrom(java.io.InputStream inps)
           
protected  void ResourceNode._loadFrom(VNode vnode)
          Load data from (VStreamReadable) VNode
 VNode Cluster.addNode(VNode node)
          Adds (Sub) Cluster to the registry.
 VNode Cluster.addNode(VNode node, boolean isMove)
           
 VNode VComposite.addNode(VNode node, boolean isMove)
          Add a node to the underlaying Resource.
 VNode VCompositeNode.addNode(VNode node, boolean isMove)
           
 LinkNode MyVLe.addNode(VNode sourceNode, java.lang.String optNewName, boolean isMove)
          Auto linkdrops node on this resource, returned node is alway of LinkNode type.
 VNode VComposite.addNode(VNode node, java.lang.String newName, boolean isMove)
          Add a node to the underlaying Resource with a optional new name.
 VNode VCompositeNode.addNode(VNode node, java.lang.String newName, boolean isMove)
           
 VNode[] Cluster.addNodes(VNode[] nodes, boolean isMove)
           
 VNode[] VComposite.addNodes(VNode[] nodes, boolean isMove)
          Add specified nodes to the Resource.
 VNode[] VCompositeNode.addNodes(VNode[] nodes, boolean isMove)
           
protected  void ResourceNode.checkAndStoreNewServerInfo()
           
 ServerInfo VRS.checkUpdateServerInfo(ServerInfo info, VRL loc, boolean autoCreate)
          Check and update the ServerInfo object or create a new one.
 void VServer.connect()
          Explicit connect so a Server can be created but does NOT connect yet.
 VNode Cluster.createChild(java.lang.String type)
           
 VNode Cluster.createChild(java.lang.String type, boolean force)
           
 VNode Cluster.createChild(java.lang.String type, java.lang.String name)
           
 VNode Cluster.createChild(java.lang.String type, java.lang.String name, boolean force)
           
 VNode MyVLe.createChild(java.lang.String type, java.lang.String name, boolean force)
           
 VNode VComposite.createChild(java.lang.String type, java.lang.String name, boolean force)
          VNode method to create new Child.
 VNode VCompositeNode.createChild(java.lang.String type, java.lang.String name, boolean force)
           
static Cluster Cluster.createDas2()
          Default das2 Cluster Factory
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
 boolean Cluster.delete()
           
 boolean MyVLe.delete()
           
 boolean ResourceNode.delete()
           
 boolean VEditable.delete()
          Delete specified resource.
 boolean Cluster.delete(boolean recurse)
           
 boolean MyVLe.delete(boolean recurse)
           
 boolean VComposite.delete(boolean recurse)
          Recursive delete.
 boolean VCompositeNode.delete(boolean recurse)
           
 boolean Cluster.delNode(VNode node)
          Removes (Sub) Cluster/Service to the registry.
 boolean VComposite.delNode(VNode node)
          VRS method to delete specified resource Node
 boolean VCompositeNode.delNode(VNode node)
           
 boolean Cluster.delNodes(VNode[] nodes)
          Removes (Sub) Clusters/Services from the registry.
 boolean VComposite.delNodes(VNode[] nodes)
          VRS method to delete specified resource Nodes
 boolean VCompositeNode.delNodes(VNode[] nodes)
           
 void VServer.disconnect()
          Explicit disconnect so a server can be disconnected and connected again (=reset!)
abstract  boolean VNode.exists()
          Whether this node (still) exists
 VAttribute ResourceNode.getAttribute(java.lang.String name)
           
 VAttribute VNode.getAttribute(java.lang.String name)
          This is the single method a Node has to implement so that attributes can be fetched.
 VAttribute[] VNode.getAttributes()
          Get all attributes defined by attributeNames
 VAttribute[] VNode.getAttributes(java.lang.String[] names)
          Get all attributes defined by names.
Elements in the names array may be null! It means do not fetch the attribute.
 VAttributeSet VNode.getAttributeSet(java.lang.String[] names)
          Same as getAttributes(), but return the attributes in an Attribute set.
 VNode VComposite.getChild(java.lang.String name)
          Returns Child Node.
 VNode VCompositeNode.getChild(java.lang.String name)
           
 VAttribute[][] VComposite.getChildAttributes(java.lang.String[] attributeNames)
          Returns attributes for all childs
 VAttribute[][] VCompositeNode.getChildAttributes(java.lang.String[] names)
           
 VAttribute[][] VComposite.getChildAttributes(java.lang.String[] childNames, java.lang.String[] attrNames)
          Return attribute matrix for given childs.
 VAttribute[][] VCompositeNode.getChildAttributes(java.lang.String[] childNames, java.lang.String[] names)
           
 VNode[] MyVLe.getChilds()
           
 VNode[] VComposite.getChilds()
          Returns Child Nodes.
 VAttribute[] Registry.getDefaultServerAttributesFor(VRL loc)
           
 java.io.InputStream ResourceNode.getInputStream()
           
 java.io.InputStream VStreamReadable.getInputStream()
          Create InputStream to read from this (remote) resource.
 VRL LinkNode.getLinkTarget()
           
 long MyVLe.getNrOfChilds()
           
 long VComposite.getNrOfChilds()
          Returns number of child nodes.
 long VCompositeNode.getNrOfChilds()
           
 java.io.OutputStream VStreamWritable.getOutputStream()
          Create OutputStream to this file/object to write to.
 VNode ResourceNode.getParent()
          Returns 'Logical' Parent.
 VNode VNode.getParent()
          Get Parent Node (if any).
In the case of a graph, this method might return null, if it has multiple parents and no parent (of the multiparents) can be considered as the 'master' or 'root' parent.
 VNode[] VCompositeNode.getParents()
           
 VNode[] VNode.getParents()
          Get Parents if the Node is part of a Graph.
 java.lang.String VRSContext.getProxyAsString()
           
 ServerInfo VRSContext.getServerInfoFor(VRL loc, boolean autoCreate)
          Get ServerInfo object used by this context.
 boolean ResourceNode.getTargetIsComposite()
          Checks whether remote resource is composite or not.
 java.lang.String ResourceNode.getTargetUserInfo()
          Returns username + (optional) domainname added the to userinfo.
 VRL ResourceNode.getTargetVRL()
          Returns linkTarget location
 java.net.URI VNode.getURI()
          Returns URI (java.net.URI) of this object.
 VFS Registry.getVFSFor(VRL loc)
           
 VNode VRSContext.getVirtualRoot()
          Returns Virtual Root of top level Resource Tree.
 VRL VRSContext.getVirtualRootLocation()
          Returns Virtual Root VRL of top level Resource Tree.
static VNode MyVLe.getVLeRoot(VRSContext vrsContext)
           
 VRS Registry.getVRSFor(VRL loc)
           
 boolean MyVLe.hasChild(java.lang.String name)
           
 boolean VComposite.hasChild(java.lang.String name)
          Checks whether this node has a child with the specified name
 boolean VCompositeNode.hasChild(java.lang.String name)
           
protected  void ResourceNode.init(VRL logicalVRL, VRL targetVRL, boolean resolveLink)
           
 boolean VComposite.isAccessable()
          Override this method if your directory can be accessable but not be 'readable'.
 boolean MyVLe.isDeletable()
           
 boolean ResourceNode.isDeletable()
           
 boolean VComposite.isDeletable()
           
 boolean VCompositeNode.isDeletable()
           
 boolean VEditable.isDeletable()
          returns true is the caller has the permissions to delete this resource The default implementation for a VFSNode is to check whether it is writable
 boolean MyVLe.isEditable()
           
 boolean ResourceNode.isEditable()
           
 boolean VEditable.isEditable()
          returns true is the caller has the permissions to edit this resource.
 boolean ResourceNode.isRenamable()
           
 boolean VRenamable.isRenamable()
          Returns true is the resource is renamble whit the current credentials.
static LinkNode LinkNode.loadFrom(VRSContext context, VNode vnode)
          Resolves a (stored) LinkNode.
static LinkNode LinkNode.loadFrom(VRSContext context, VRL loc)
          Load ResourceNode but return as LinkNode !
 VAttribute[] VNode.mergedGetAttributes(VAttributeSet attrSet, java.lang.String[] attrNames)
          Fetch atrributes which are not in the Attribute Set.
 VNode VRSContext.openLocation(VRL vrl)
          Perform openLocation using this VRSContext.
 VNode Registry.openLocation(VRSContext context, java.lang.String location)
          Open location specified by the location string.
 VNode VRS.openLocation(VRSContext context, java.lang.String location)
          Returns handler object (VNode) specified by the location string
 VNode Registry.openLocation(VRSContext context, java.net.URL url)
           
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.
 int VRandomAccessable.readBytes(long fileOffset, byte[] buffer, int bufferOffset, int nrBytes)
          Reads nrBytes from file starting to read from fileOffset.
 boolean ResourceNode.renameTo(java.lang.String newName, boolean nameIsPath)
           
 boolean VRenamable.renameTo(java.lang.String newName, boolean nameIsPath)
          Renames this resource.
Since for some implementations (java.io.File) a full path is needed.
 void ResourceNode.save()
           
 void LinkNode.saveAtLocation(VComposite parent, java.lang.String newName)
          Store Link node
 boolean MyVLe.setAttribute(VAttribute attr)
           
 boolean ResourceNode.setAttribute(VAttribute attr)
           
 boolean VEditable.setAttribute(VAttribute attr)
          Set single attribute.
 boolean ResourceNode.setAttribute(VAttribute attr, boolean store)
           
 boolean MyVLe.setAttributes(VAttribute[] attrs)
           
 boolean ResourceNode.setAttributes(VAttribute[] attrs)
           
 boolean VEditable.setAttributes(VAttribute[] attrs)
          Sets a list of attributes
 boolean ResourceNode.setAttributes(VAttribute[] attrs, boolean store)
           
 void VRandomAccessable.setLengthToZero()
          Resets file length to zero.
Currently setLength() is not supported by SRB so this method is currently the only method which can decrease the file size.
 void VRSContext.setProxyFromString(java.lang.String proxyStr)
           
 ResourceNode VNode.toLinkNode()
          If this VNode represents a ResourceNode implementation this method will load the ResourceNode and return a new ResourceNode
 void VRandomAccessable.writeBytes(long fileOffset, byte[] buffer, int bufferOffset, int nrBytes)
          Writes nrBytes to the file starting at position fileOffset in the file.
 

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

Methods in nl.uva.vlet.vrs.http that throw VlException
 java.io.InputStream HTTPNode.getInputStream()
           
 VNode HTTPNode.getParent()
           
 VNode[] HTTPNode.getParents()
           
 VNode HTTPRS.openLocation(VRSContext context, VRL location)
           
 

Constructors in nl.uva.vlet.vrs.http that throw VlException
HTTPNode(VRSContext context, VRL loc)