public class RAMDriver extends AbstractFSDriver<Path>
| Constructor and Description |
|---|
RAMDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Path path,
java.lang.String file) |
void |
add(java.lang.String path,
java.lang.String file) |
java.lang.Iterable<Path> |
children(Path handle) |
long |
getLastModified(Path handle) |
boolean |
isDir(Path handle) |
java.lang.String |
name(Path handle) |
java.util.Iterator<java.io.InputStream> |
open(Path handle) |
Path |
root()
Returns the root handle.
|
childpublic void add(java.lang.String path,
java.lang.String file)
public void add(Path path, java.lang.String file)
public Path root() throws java.io.IOException
FSDriverjava.io.IOException - any io exceptionpublic java.lang.String name(Path handle) throws java.io.IOException
java.io.IOExceptionpublic boolean isDir(Path handle) throws java.io.IOException
java.io.IOExceptionpublic java.lang.Iterable<Path> children(Path handle) throws java.io.IOException
java.io.IOExceptionpublic long getLastModified(Path handle) throws java.io.IOException
java.io.IOExceptionpublic java.util.Iterator<java.io.InputStream> open(Path handle) throws java.io.IOException
java.io.IOExceptionCopyright © 2014 eXo Platform SAS. All Rights Reserved.