Class PhysicalFile
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.platform.PhysicalFile
-
public class PhysicalFile extends DataSingleton
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPhysicalFile.Notification
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object aThat)protected voidfastRefresh()protected voidfullRefresh()static PhysicalFileget(Platform platform, String name)Gets the.static PhysicalFileget(Platform platform, org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper fileStruct)Gets the.LonggetFilesize()Gets the filesize.booleangetIsDir()Gets the checks if is dir.StringgetModifiedtime()Gets the modifiedtime.StringgetName()Gets the name.StringgetPath()Gets the path.inthashCode()protected booleanisComplete()voidupdate(org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper file)Update.-
Methods inherited from class org.hpccsystems.ws.client.utils.DataSingleton
monitor
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
get
public static PhysicalFile get(Platform platform, String name)
Gets the.- Parameters:
platform- the platformname- the name- Returns:
- the physical file
-
get
public static PhysicalFile get(Platform platform, org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper fileStruct)
Gets the.- Parameters:
platform- the platformfileStruct- the file struct- Returns:
- the physical file
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getFilesize
public Long getFilesize()
Gets the filesize.- Returns:
- the filesize
-
getModifiedtime
public String getModifiedtime()
Gets the modifiedtime.- Returns:
- the modifiedtime
-
getIsDir
public boolean getIsDir()
Gets the checks if is dir.- Returns:
- the checks if is dir
-
getPath
public String getPath()
Gets the path.- Returns:
- the path
-
isComplete
protected boolean isComplete()
- Specified by:
isCompletein classDataSingleton
-
fastRefresh
protected void fastRefresh()
- Specified by:
fastRefreshin classDataSingleton
-
fullRefresh
protected void fullRefresh()
- Specified by:
fullRefreshin classDataSingleton
-
update
public void update(org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper file)
Update.- Parameters:
file- the file
-
equals
public boolean equals(Object aThat)
- Specified by:
equalsin classDataSingleton
-
hashCode
public int hashCode()
- Specified by:
hashCodein classDataSingleton
-
-