com.sas.hls.resource.workspace
Class WorkspaceFile

java.lang.Object
  extended by com.sas.hls.resource.workspace.WorkspaceResource
      extended by 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
           
 
Fields inherited from class com.sas.hls.resource.workspace.WorkspaceResource
lastModifiedDate, path
 
Constructor Summary
WorkspaceFile(String path, Date date, long size)
          Constructor for a client-side representation of a file in the workspace.
 
Method Summary
 long getSize()
           
 
Methods inherited from class com.sas.hls.resource.workspace.WorkspaceResource
equals, getLastModifiedDate, getPath, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

size

protected long size
Constructor Detail

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.
Method Detail

getSize

public long getSize()
Returns:
size of the workspace file (in bytes)


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA