public interface IResourceVersion extends Comparable<IResourceVersion>
IResource.| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Returns the content of the resource version as a byte array.
|
String |
getContentType()
Getter for the content type.
|
Date |
getCreatedAt()
Timestamp of the creation of the entity.
|
String |
getCreatedBy()
The creator of the entity.
|
String |
getPath()
Returns the path of this resource version
|
int |
getVersion()
Returns the version number.
|
boolean |
isBinary()
Getter for binary flag.
|
compareToString getPath()
The result may not be null.
Example: /db/users/test.txt
Example: /db/articles
IResourceint getVersion()
byte[] getContent()
throws RepositoryReadException
RepositoryReadException - the repository read exceptionboolean isBinary()
String getContentType()
String getCreatedBy()
Date getCreatedAt()
Copyright © 2010–2018 Eclipse Foundation. All rights reserved.