org.crsh.vfs.spi.jarurl
Class JarURLDriver
java.lang.Object
org.crsh.vfs.spi.AbstractFSDriver<Handle>
org.crsh.vfs.spi.jarurl.JarURLDriver
- All Implemented Interfaces:
- FSDriver<Handle>
public class JarURLDriver
- extends AbstractFSDriver<Handle>
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
final Handle root
- .
jarURL
final URL jarURL
- .
JarURLDriver
public JarURLDriver(JarURLConnection conn)
throws IOException
- Throws:
IOException
get
private static Handle get(JarURLDriver driver,
Map<String,Handle> handles,
String path)
root
public Handle 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(Handle handle)
throws IOException
- Throws:
IOException
isDir
public boolean isDir(Handle handle)
throws IOException
- Throws:
IOException
children
public Iterable<Handle> children(Handle handle)
throws IOException
- Throws:
IOException
toURL
public URL toURL(Handle handle)
throws IOException
- Throws:
IOException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.