|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageSegmentSource
A PageSegmentSource describes the origin of a page segment.
Since Document
s are not engaged in a 1:1 relation with a single source stream from which
the document was loaded, a document may have many source streams from which its contents are
derived. In contrast to that, AbstractPageSegment
s are usually derived from a single
stream only. However, there are PageSegments which are not derived from a source stream at all.
These PageSegments return null
from a call to their
AbstractPageSegment.getSource()
method.
Method Summary | |
---|---|
Format |
getFormat()
Return the format description for this page segment. |
Metadata |
getMetadata()
Return the stream's meta-data. |
Map<String,Object> |
getProperties()
Return the stream's user properties. |
SeekableInputStream |
getStream()
Return the stream from which the page segment was read. |
Methods inherited from interface com.levigo.jadice.document.SourceID |
---|
getReadID, getStreamIndex, getStreamPageIndex |
Method Detail |
---|
SeekableInputStream getStream()
null
if the page
segment was not read from a stream.
Format getFormat()
Metadata getMetadata()
getMetadata
in interface MetadataProvider
Map<String,Object> getProperties()
getProperties
in interface PropertiesProvider
PropertiesProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2017 levigo holding gmbh. All rights reserved. |