public class WorkspaceFile extends WorkspaceItem
Constructor and Description |
---|
WorkspaceFile(String path,
Date lastModifiedDate,
long size)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getSize()
Gets the size of the workspace file in bytes.
|
int |
hashCode() |
String |
toString() |
getLastModifiedDate, getPath
public WorkspaceFile(String path, Date lastModifiedDate, long size)
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.public long getSize()
public int hashCode()
hashCode
in class WorkspaceItem
public boolean equals(Object obj)
equals
in class WorkspaceItem
public String toString()
toString
in class WorkspaceItem
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA