Package com.sas.lsaf.content.repository
Class WorkspaceFileInfo
java.lang.Object
com.sas.lsaf.content.repository.WorkspaceFileInfo
- All Implemented Interfaces:
Serializable
Provides the latest workspace file information that is related to synchronization state. This information provides the
user with details about the file that resides in the workspace, independent of what the user has synchronized
to their workspace from the repository.
- Since:
- 1.7
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceFileInfo(String path, Date lastModifiedDate, long size) Initializing constructor that sets the values of all variables. -
Method Summary
-
Constructor Details
-
WorkspaceFileInfo
Initializing constructor that sets the values of all variables.It is not intended or recommended that the consumer of the API construct these objects.
- Parameters:
path- the full path of the workspace file.lastModifiedDate- the date on which the workspace file was last modified.size- the size of the workspace file.
-
-
Method Details
-
getPath
Gets the full path of the workspace file.- Returns:
- The full path of the workspace file.
-
getLastModifiedDate
Gets the date on which the workspace file was last modified.- Returns:
- The date on which the workspace file was last modified.
-
getSize
public long getSize()Gets the size of the workspace file (in bytes).- Returns:
- The size of the workspace file (in bytes).
-
hashCode
public int hashCode() -
equals
-
toString
-