Package com.sas.lsaf.content.workspace
Class WorkspaceFile
java.lang.Object
com.sas.lsaf.content.workspace.WorkspaceItem
com.sas.lsaf.content.workspace.WorkspaceFile
- All Implemented Interfaces:
Serializable
The representation of a file in the user's workspace.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceFile(String path, Date lastModifiedDate, long size) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Methods inherited from class com.sas.lsaf.content.workspace.WorkspaceItem
getLastModifiedDate, getPath
-
Constructor Details
-
WorkspaceFile
It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the workspace files returned by the API.- Parameters:
path- the path of the file in the workspace.lastModifiedDate- the date on which the file was last modified.size- the size of the file.
-
-
Method Details
-
getSize
public long getSize()Gets the size of the workspace file in bytes.- Returns:
- The size of the workspace file in bytes.
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkspaceItem
-
equals
- Overrides:
equalsin classWorkspaceItem
-
toString
- Overrides:
toStringin classWorkspaceItem
-