public abstract class ManifestFile extends Object implements Serializable
Constructor and Description |
---|
ManifestFile(String path,
String name,
Date lastModified,
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) |
String |
getId()
Gets the unique identifier, if the manifest file is a repository file.
|
Date |
getLastModified()
Gets the date on which the file was last modified.
|
String |
getName()
Gets the name of the manifest file.
|
String |
getPath()
Gets the full path to the manifest file, which includes the name.
|
Long |
getSize()
Gets the size (in bytes) of the manifest file at the time the manifest file was created.
|
String |
getVersion()
Gets the version, if the manifest file is a repository that is versioned.
|
int |
hashCode() |
boolean |
isRepositoryFile()
Indicates whether the file is a repository file.
|
boolean |
isWorkspaceFile()
Indicates whether the file is a workspace file.
|
String |
toString() |
public ManifestFile(String path, String name, Date lastModified, Long size)
path
- The full path to the manifest file, which includes the name.name
- The name of the manifest file.lastModified
- The date on which the file was last modified.size
- The size (in bytes) of the file.public String getPath()
public String getName()
public Long getSize()
public Date getLastModified()
public boolean isRepositoryFile()
True
, if the file is a repository file, False
otherwise.public boolean isWorkspaceFile()
True
if the file is a workspace file, False
otherwise.public String getId()
public String getVersion()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>