|
ModeShape Distribution 3.4.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.value.binary.AbstractBinary
org.modeshape.jcr.value.binary.ExternalBinaryValue
org.modeshape.jcr.value.binary.UrlBinaryValue
public class UrlBinaryValue
A BinaryValue
implementation used to read the content of a resolvable URL. This class computes the
MIME type
lazily.
Field Summary |
---|
Fields inherited from class org.modeshape.jcr.value.binary.AbstractBinary |
---|
EMPTY_CONTENT |
Constructor Summary | |
---|---|
UrlBinaryValue(BinaryKey key,
String sourceName,
URL content,
long size,
String nameHint,
MimeTypeDetector mimeTypeDetector)
|
Method Summary | |
---|---|
InputStream |
getStream()
|
protected URL |
toUrl()
|
Methods inherited from class org.modeshape.jcr.value.binary.ExternalBinaryValue |
---|
getId, getMimeType, getMimeType, getSize, getSourceName, hasMimeType, setMimeType, toString |
Methods inherited from class org.modeshape.jcr.value.binary.AbstractBinary |
---|
compareTo, dispose, equals, getHash, getHexHash, getKey, getReadableSize, hashCode, keyFor, read |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UrlBinaryValue(BinaryKey key, String sourceName, URL content, long size, String nameHint, MimeTypeDetector mimeTypeDetector)
Method Detail |
---|
protected URL toUrl()
public InputStream getStream() throws RepositoryException
RepositoryException
|
ModeShape Distribution 3.4.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |