org.crsh.vfs.spi
Interface FSDriver<H>
- Type Parameters:
H
- the handle generic type
- All Known Implementing Classes:
- AbstractFSDriver, FileDriver, JarURLDriver, MountDriver, RAMDriver, ServletContextDriver
public interface FSDriver<H>
A driver.
- Version:
- $Revision$
- Author:
- Julien Viet
root
H root()
throws IOException
- Returns the root handle.
- Returns:
- the root handle
- Throws:
IOException
- any io exception
name
String name(H handle)
throws IOException
- Throws:
IOException
isDir
boolean isDir(H handle)
throws IOException
- Throws:
IOException
child
H child(H handle,
String name)
throws IOException
- Throws:
IOException
children
Iterable<H> children(H handle)
throws IOException
- Throws:
IOException
toURL
URL toURL(H handle)
throws IOException
- Throws:
IOException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.