org.crsh.vfs.spi.url
Class URLDriver
java.lang.Object
org.crsh.vfs.spi.AbstractFSDriver<Node>
org.crsh.vfs.spi.url.URLDriver
- All Implemented Interfaces:
- FSDriver<Node>
-
public class URLDriver
- extends AbstractFSDriver<Node>
-
- Author:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
private final Node.Dir root
-
.
URLDriver
public URLDriver()
merge
public void merge(ClassLoader loader)
throws IOException,
URISyntaxException
-
- Throws:
IOException
URISyntaxException
merge
public void merge(URL url)
throws IOException,
URISyntaxException
-
- Throws:
IOException
URISyntaxException
root
public Node root()
throws IOException
- Description copied from interface:
FSDriver
-
Returns the root handle.
-
- Returns:
- the root handle
- Throws:
IOException
- any io exception
name
public String name(Node handle)
throws IOException
-
- Throws:
IOException
isDir
public boolean isDir(Node handle)
throws IOException
-
- Throws:
IOException
children
public Iterable<Node> children(Node handle)
throws IOException
-
- Throws:
IOException
getLastModified
public long getLastModified(Node handle)
throws IOException
-
- Throws:
IOException
open
public InputStream open(Node handle)
throws IOException
-
- Throws:
IOException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.