public class WorkspaceFileInfo extends Object implements Serializable
Constructor and Description |
---|
WorkspaceFileInfo(String path,
Date lastModifiedDate,
long size)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
Date |
getLastModifiedDate()
Returns the last date this workspace file was modified.
|
String |
getPath()
Returns the full path of this workspace file.
|
long |
getSize()
Returns the size of this workspace file (in bytes).
|
int |
hashCode()
Return a hash code value for the object.
|
String |
toString()
Return a string representation of the object.
|
public WorkspaceFileInfo(String path, Date lastModifiedDate, long size)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as RepositoryResourceService.getSynchronizationInfo(String)
.
path
- The full path of the workspace file.lastModifiedDate
- The date the workspace file was last modified.size
- The size of the workspace file.public String getPath()
public Date getLastModifiedDate()
public long getSize()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA