public class PhysicalFile extends DataSingleton
| Modifier and Type | Class and Description |
|---|---|
static class |
PhysicalFile.Notification |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object aThat) |
protected void |
fastRefresh() |
protected void |
fullRefresh() |
static PhysicalFile |
get(Platform platform,
PhysicalFileStructWrapper fileStruct)
Gets the.
|
static PhysicalFile |
get(Platform platform,
String name)
Gets the.
|
Long |
getFilesize()
Gets the filesize.
|
boolean |
getIsDir()
Gets the checks if is dir.
|
String |
getModifiedtime()
Gets the modifiedtime.
|
String |
getName()
Gets the name.
|
String |
getPath()
Gets the path.
|
int |
hashCode() |
protected boolean |
isComplete() |
void |
update(PhysicalFileStructWrapper file)
Update.
|
monitoraddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static PhysicalFile get(Platform platform, String name)
platform - the platformname - the namepublic static PhysicalFile get(Platform platform, PhysicalFileStructWrapper fileStruct)
platform - the platformfileStruct - the file structpublic String getName()
public Long getFilesize()
public String getModifiedtime()
public boolean getIsDir()
public String getPath()
protected boolean isComplete()
isComplete in class DataSingletonprotected void fastRefresh()
fastRefresh in class DataSingletonprotected void fullRefresh()
fullRefresh in class DataSingletonpublic void update(PhysicalFileStructWrapper file)
file - the filepublic boolean equals(Object aThat)
equals in class DataSingletonpublic int hashCode()
hashCode in class DataSingletonCopyright © 2021. All rights reserved.