org.crsh.vfs.spi
Interface FSDriver<H>
- All Known Implementing Classes:
- AbstractFSDriver, FileDriver, RAMDriver, ServletContextDriver, URLDriver
-
public interface FSDriver<H>
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
getLastModified
long getLastModified(H handle)
throws IOException
-
- Throws:
IOException
open
InputStream open(H handle)
throws IOException
-
- Throws:
IOException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.