|
||||||||||
| 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.BLOBInResource
public class BLOBInResource
Represents binary data which is stored in a file system resource.
| 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)
|
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. |
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.
delete in class BLOBFileValuepruneEmptyParentDirs - if true, empty parent directories
will automatically be deletedpublic void discard()
BLOBFileValue is backed by a persistent resource
calling this method will have no effect.
discard in class BLOBFileValue#delete(),
BLOBFileValue.delete(boolean)public long getLength()
BLOBFileValue.
getLength in class BLOBFileValueBLOBFileValue,
or -1L if the length can't be determined.
public InputStream getStream()
throws RepositoryException
getStream in class BLOBFileValueRepositoryExceptionpublic String toString()
toString in class BLOBFileValuepublic boolean equals(Object obj)
equals in class BLOBFileValuepublic int hashCode()
hashCode in class BLOBFileValueObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||