public final class CachedFileContent extends UserDataHolderBase
| Constructor and Description |
|---|
CachedFileContent(VirtualFile virtualFile) |
| Modifier and Type | Method and Description |
|---|---|
byte [] |
getBytes() |
byte [] |
getBytesOrEmptyArray() |
long |
getLength() |
long |
getTimeStamp() |
VirtualFile |
getVirtualFile() |
boolean |
isWritable() |
void |
setEmptyContent() |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMappublic CachedFileContent(VirtualFile virtualFile)
public byte [] getBytesOrEmptyArray()
public byte [] getBytes()
throws java.io.IOException
java.io.IOExceptionpublic void setEmptyContent()
public VirtualFile getVirtualFile()
public long getLength()
public long getTimeStamp()
public boolean isWritable()