|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.openapi.vfs.VirtualFile
com.intellij.openapi.vcs.vfs.AbstractVcsVirtualFile
com.intellij.openapi.vcs.vfs.VcsVirtualFile
public class VcsVirtualFile
author: lesya
| Field Summary |
|---|
| Fields inherited from class com.intellij.openapi.vcs.vfs.AbstractVcsVirtualFile |
|---|
myModificationStamp, myName, myPath, myRevision |
| Fields inherited from class com.intellij.openapi.vfs.VirtualFile |
|---|
EMPTY_ARRAY, myBOM, PROP_NAME, PROP_WRITABLE |
| Fields inherited from interface com.intellij.openapi.util.ModificationTracker |
|---|
EVER_CHANGED |
| Constructor Summary | |
|---|---|
VcsVirtualFile(java.lang.String path,
byte[] content,
java.lang.String revision,
VirtualFileSystem fileSystem)
|
|
VcsVirtualFile(java.lang.String path,
VcsFileRevision revision,
VirtualFileSystem fileSystem)
|
|
| Method Summary | |
|---|---|
byte[] |
contentsToByteArray()
Returns file content as an array of bytes. |
java.lang.String |
getRevision()
|
boolean |
isDirectory()
Checks whether this file is a directory. |
| Methods inherited from class com.intellij.openapi.vcs.vfs.AbstractVcsVirtualFile |
|---|
contentsToCharArray, createChildData, createChildDirectory, delete, getActualTimeStamp, getChildren, getFileSystem, getInputStream, getLength, getModificationStamp, getName, getOutputStream, getParent, getPath, getPathInCvs, getPresentableName, getTimeStamp, isValid, isWritable, move, refresh, rename |
| Methods inherited from class com.intellij.openapi.vfs.VirtualFile |
|---|
findChild, findFileByRelativePath, getCharset, getExtension, getFileType, getIcon, getModificationCount, getNameWithoutExtension, getOutputStream, getPresentableUrl, getReader, getReader, getUrl, getUserData, getWriter, getWriter, nameEquals, physicalContentsToByteArray, putUserData, refresh |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VcsVirtualFile(java.lang.String path,
VcsFileRevision revision,
VirtualFileSystem fileSystem)
public VcsVirtualFile(java.lang.String path,
byte[] content,
java.lang.String revision,
VirtualFileSystem fileSystem)
| Method Detail |
|---|
public byte[] contentsToByteArray()
throws java.io.IOException
VirtualFile
contentsToByteArray in class AbstractVcsVirtualFilejava.io.IOException - if an I/O error occursVirtualFile.getInputStream()public boolean isDirectory()
VirtualFile
isDirectory in class VirtualFiletrue if this file is a directory, fasle otherwisepublic java.lang.String getRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||