public interface Document extends DocumentHeader
IContentRepository
.Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
An input stream on the byte[] stored in the
IContentRepository . |
Reader |
getReader()
A reader on the byte[] stored in the
IContentRepository where
bytes are decoded to characters using the encoding identified by
DocumentHeader.getContentEncoding() . |
asMap, exists, getContentEncoding, getContentType, getEarliestVersionCreateTime, getId, getMetadataUpdateTime, getProperty, getVersion, getVersionCreateTime
InputStream getInputStream()
IContentRepository
.Reader getReader() throws UnsupportedEncodingException
IContentRepository
where
bytes are decoded to characters using the encoding identified by
DocumentHeader.getContentEncoding()
.IllegalStateException
- if the DocumentHeader.getContentEncoding()
is not
set.UnsupportedEncodingException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.