@Deprecated
public final class FileStat
extends java.lang.Object
FileStat contains information about a single file.| Constructor and Description |
|---|
FileStat()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
java.lang.Long |
getCtime()
Deprecated.
This field is never set under current implementation.
|
java.lang.String |
getFilename()
Deprecated.
|
java.lang.Long |
getLength()
Deprecated.
|
java.lang.Long |
getMtime()
Deprecated.
This field is never set under current implementation.
|
int |
hashCode()
Deprecated.
|
boolean |
isFinalized()
Deprecated.
|
void |
setCtime(long ctime)
Deprecated.
|
void |
setFilename(java.lang.String filename)
Deprecated.
|
void |
setFinalized(boolean finalized)
Deprecated.
|
void |
setLength(long length)
Deprecated.
|
void |
setMtime(long mtime)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setFilename(java.lang.String filename)
filename - the uploaded filename of the file.public void setFinalized(boolean finalized)
finalized - whether the file is finalized.public void setLength(long length)
length - the number of bytes of the file.public void setCtime(long ctime)
ctime - creation time.public void setMtime(long mtime)
mtime - modification time.public java.lang.String getFilename()
public boolean isFinalized()
public java.lang.Long getLength()
null if not set.public java.lang.Long getCtime()
null if not set.public java.lang.Long getMtime()
null if not set.