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

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).
 
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
 

Constructor Detail

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

getSize

public long getSize()
Return the size of this workspace file (in bytes).

Returns:
The size of this workspace file (in bytes)


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