public abstract class InMemorySourceFile extends Object implements LocalSourceFile
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
InMemorySourceFile() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends LocalSourceFile> |
getChildren(LocalFileFilter filter) |
long |
getLastAccessTime()
Returns last access time for the underlying file.
|
long |
getLastModifiedTime()
Returns last access time for the underlying file.
|
int |
getPermissions()
Returns the permissions for the underlying file
|
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
providesAtimeMtime() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInputStream, getLength, getNamepublic boolean isFile()
isFile in interface LocalSourceFilepublic boolean isDirectory()
isDirectory in interface LocalSourceFilepublic int getPermissions()
throws IOException
LocalSourceFilegetPermissions in interface LocalSourceFileIOExceptionpublic boolean providesAtimeMtime()
providesAtimeMtime in interface LocalSourceFilepublic long getLastAccessTime()
throws IOException
LocalSourceFilegetLastAccessTime in interface LocalSourceFileIOExceptionpublic long getLastModifiedTime()
throws IOException
LocalSourceFilegetLastModifiedTime in interface LocalSourceFileIOExceptionpublic Iterable<? extends LocalSourceFile> getChildren(LocalFileFilter filter) throws IOException
getChildren in interface LocalSourceFileIOExceptionCopyright © 2009–2014. All rights reserved.