public class StoredContent extends Content
| Constructor and Description |
|---|
StoredContent(java.io.DataInput in) |
StoredContent(int contentId) |
| Modifier and Type | Method and Description |
|---|---|
static StoredContent |
acquireContent(byte[] bytes) |
static StoredContent |
acquireContent(VirtualFile f) |
boolean |
equals(java.lang.Object o) |
byte[] |
getBytes() |
int |
getContentId() |
int |
hashCode() |
boolean |
isAvailable() |
void |
release() |
static StoredContent |
transientContent(VirtualFile f) |
void |
write(java.io.DataOutput out) |
getBytesIfAvailable, getString, toStringpublic StoredContent(int contentId)
public StoredContent(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic static StoredContent acquireContent(byte[] bytes)
public static StoredContent acquireContent(VirtualFile f)
public static StoredContent transientContent(VirtualFile f)
public void write(java.io.DataOutput out)
throws java.io.IOException
public boolean isAvailable()
isAvailable in class Contentpublic int getContentId()
public int hashCode()
hashCode in class java.lang.Object