|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.value.BLOBFileValue
org.apache.jackrabbit.core.value.BLOBInDataStore
public class BLOBInDataStore
Represents binary data which is stored in the data store.
Method Summary | |
---|---|
void |
delete(boolean pruneEmptyParentDirs)
Deletes the persistent resource backing this BLOBFileValue . |
void |
discard()
Frees temporarily allocated resources such as temporary file, buffer, etc. |
boolean |
equals(Object obj)
|
DataIdentifier |
getDataIdentifier()
Get the data identifier if one is available. |
long |
getLength()
Returns the length of this BLOBFileValue . |
InputStream |
getStream()
Returns an InputStream representation of this value. |
int |
hashCode()
Returns zero to satisfy the Object equals/hashCode contract. |
boolean |
isImmutable()
Checks if this object is immutable. |
boolean |
isSmall()
Check if the value is small (contains a low number of bytes) and should be stored inline. |
String |
toString()
|
Methods inherited from class org.apache.jackrabbit.core.value.BLOBFileValue |
---|
spool |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void delete(boolean pruneEmptyParentDirs)
BLOBFileValue
BLOBFileValue
.
delete
in class BLOBFileValue
pruneEmptyParentDirs
- if true
, empty parent directories
will automatically be deletedpublic void discard()
BLOBFileValue
BLOBFileValue
is backed by a persistent resource
calling this method will have no effect.
discard
in class BLOBFileValue
BLOBFileValue.delete(boolean)
public DataIdentifier getDataIdentifier()
BLOBFileValue
getDataIdentifier
in class BLOBFileValue
public boolean isImmutable()
isImmutable
in class BLOBFileValue
public boolean equals(Object obj)
BLOBFileValue
equals
in class BLOBFileValue
public int hashCode()
hashCode
in class BLOBFileValue
Object.hashCode()
public long getLength()
BLOBFileValue
BLOBFileValue
.
getLength
in class BLOBFileValue
BLOBFileValue
,
or -1L if the length can't be determined.public InputStream getStream() throws RepositoryException
BLOBFileValue
getStream
in class BLOBFileValue
RepositoryException
public String toString()
toString
in class BLOBFileValue
public boolean isSmall()
BLOBFileValue
isSmall
in class BLOBFileValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |