public final class GoogleInode
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GoogleInode.FileType |
Constructor and Description |
---|
GoogleInode(GoogleInode inode) |
GoogleInode(java.lang.String name,
GoogleInode.FileType type,
long length,
long lastModified) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
java.util.HashMap<java.lang.String,GoogleInode> |
getDirMap() |
long |
getLastModified() |
long |
getLength() |
java.lang.String |
getName() |
boolean |
isDirectory() |
boolean |
isFile() |
void |
setDirMap(java.util.HashMap<java.lang.String,GoogleInode> map) |
void |
setLastModified(long time) |
java.lang.String |
toString() |
public GoogleInode(java.lang.String name, GoogleInode.FileType type, long length, long lastModified)
public GoogleInode(GoogleInode inode)
public final java.lang.String getName()
public final boolean exists()
public final boolean isFile()
public final boolean isDirectory()
public final long getLength()
public final long getLastModified()
public void setLastModified(long time)
public java.util.HashMap<java.lang.String,GoogleInode> getDirMap()
public void setDirMap(java.util.HashMap<java.lang.String,GoogleInode> map)
public java.lang.String toString()
toString
in class java.lang.Object