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
Constructor Summary |
WorkspaceFile(String path,
Date lastModifiedDate,
long size)
Constructor for a client-side representation of a file in the workspace. |
Method Summary |
long |
getSize()
Return the size of this workspace file (in bytes). |
WorkspaceFile
public WorkspaceFile(String path,
Date lastModifiedDate,
long size)
- Constructor for a client-side representation of a file in the workspace.
- Parameters:
path
- The path of this file in the workspace.lastModifiedDate
- The date this file was last modified.size
- The size of this file.
getSize
public long getSize()
- Return the size of this workspace file (in bytes).
- Returns:
- The size of this workspace file (in bytes)
Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA