com.sas.hls.resource.workspace
Class WorkspaceFile
java.lang.Object
com.sas.hls.resource.workspace.WorkspaceResource
com.sas.hls.resource.workspace.WorkspaceFile
- All Implemented Interfaces:
- Resource, Serializable
public class WorkspaceFile
- extends WorkspaceResource
Client-side representation of a file in the workspace.
- See Also:
- Serialized Form
Field Summary |
protected long |
size
|
Constructor Summary |
WorkspaceFile(String path,
Date date,
long size)
Constructor for a client-side representation of a file in the workspace. |
size
protected long size
WorkspaceFile
public WorkspaceFile(String path,
Date date,
long size)
- Constructor for a client-side representation of a file in the workspace.
- Parameters:
path
- Location of the file.date
- Date last modified for the file.size
- Size of the file.
getSize
public long getSize()
- Returns:
- size of the workspace file (in bytes)
Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA