public class VcsCurrentRevisionProxy extends java.lang.Object implements ByteBackedContentRevision
| Modifier and Type | Method and Description | 
|---|---|
static VcsCurrentRevisionProxy | 
create(VirtualFile file,
      Project project)  | 
java.lang.String | 
getContent()
Content of the revision. 
 | 
byte [] | 
getContentAsBytes()
Content of the revision. 
 | 
FilePath | 
getFile()  | 
VcsRevisionNumber | 
getRevisionNumber()
Revision ID. 
 | 
public static VcsCurrentRevisionProxy create(VirtualFile file, Project project)
public java.lang.String getContent()
                            throws VcsException
ContentRevisiongetContent in interface ContentRevisionVcsException - in case when content retrieval failspublic byte [] getContentAsBytes()
                          throws VcsException
ByteBackedContentRevisiongetContentAsBytes in interface ByteBackedContentRevisionVcsException - in case when content retrieval failspublic FilePath getFile()
getFile in interface ContentRevisionpublic VcsRevisionNumber getRevisionNumber()
ContentRevisionVcsRevisionNumber.NULL is returned. Use VcsRevisionNumber.NULL when revision number is not applicable like for
 the currently uncommitted revision.getRevisionNumber in interface ContentRevision