public class VFile extends java.lang.Object implements java.io.Serializable, SecureExternalizable, java.util.concurrent.Callable
| Modifier and Type | Field and Description |
|---|---|
static VFile[] |
EMPTY_ARRAY |
static java.lang.String |
NO_HASH_AVAILABLE |
| Constructor and Description |
|---|
VFile() |
VFile(java.io.File _rFile) |
VFile(java.io.File _rFile,
boolean skipHashCreation) |
VFile(java.io.File _rFile,
boolean skipHashCreation,
boolean absolute) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
call() |
boolean |
equalsFile(java.io.File f)
Returns true if the passed File probably has the same content
as the content represented by this VFile, i.e. the length and
the hash are the same.
|
boolean |
exists() |
java.lang.String |
getHash() |
java.lang.Long |
getId() |
long |
getLastModified() |
long |
getLength() |
java.lang.String |
getPath() |
boolean |
isDirectory() |
boolean |
isNotFound() |
void |
readInstance(SecureObjectInputI s)
Reads an instance of this class from the given SecureObjectInputI without using readObject.
|
void |
setDirectory(boolean $7) |
void |
setHash(java.lang.String h) |
void |
setId(java.lang.Long $8) |
void |
setLastModified(long $9) |
void |
setLength(long $10) |
void |
setNotFound(boolean $6) |
void |
setPath(java.lang.String $11) |
java.lang.String |
toString() |
void |
writeInstance(SecureObjectOutputI s)
Writes an instance of this class to the given SecureObjectOutputI without using writeObject.
|
public static final VFile[] EMPTY_ARRAY
public static final java.lang.String NO_HASH_AVAILABLE
public VFile(java.io.File _rFile)
public VFile(java.io.File _rFile,
boolean skipHashCreation)
public VFile(java.io.File _rFile,
boolean skipHashCreation,
boolean absolute)
public VFile()
public java.lang.String call()
call in interface java.util.concurrent.Callablepublic boolean isDirectory()
public boolean exists()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getHash()
public void setHash(java.lang.String h)
public boolean equalsFile(java.io.File f)
f - the File to checkpublic void writeInstance(SecureObjectOutputI s) throws java.io.IOException
SecureExternalizablewriteInstance in interface SecureExternalizablejava.io.IOExceptionpublic void readInstance(SecureObjectInputI s) throws java.io.IOException
SecureExternalizablereadInstance in interface SecureExternalizablejava.io.IOExceptionpublic boolean isNotFound()
public void setNotFound(boolean $6)
public void setDirectory(boolean $7)
public java.lang.Long getId()
public void setId(java.lang.Long $8)
public long getLastModified()
public void setLastModified(long $9)
public long getLength()
public void setLength(long $10)
public java.lang.String getPath()
public void setPath(java.lang.String $11)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.