public class FileDriver extends AbstractFSDriver<java.io.File>
| Constructor and Description |
|---|
FileDriver(java.io.File root)
Create a new file driver.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<java.io.File> |
children(java.io.File handle) |
long |
getLastModified(java.io.File handle) |
boolean |
isDir(java.io.File handle) |
java.lang.String |
name(java.io.File handle) |
java.util.Iterator<java.io.InputStream> |
open(java.io.File handle) |
java.io.File |
root()
Returns the root handle.
|
childpublic FileDriver(java.io.File root)
throws java.lang.NullPointerException
root - the rootjava.lang.NullPointerException - if the root argument is nullpublic java.io.File root()
throws java.io.IOException
FSDriverjava.io.IOException - any io exceptionpublic java.lang.String name(java.io.File handle)
throws java.io.IOException
java.io.IOExceptionpublic boolean isDir(java.io.File handle)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Iterable<java.io.File> children(java.io.File handle)
throws java.io.IOException
java.io.IOExceptionpublic long getLastModified(java.io.File handle)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Iterator<java.io.InputStream> open(java.io.File handle)
throws java.io.IOException
java.io.IOExceptionCopyright © 2014 eXo Platform SAS. All Rights Reserved.