public interface PageSegmentSource extends PropertiesProvider, MetadataProvider
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.Modifier and Type | Method and Description |
---|---|
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.
|
SourceID |
getSourceID()
Return this
PageSegmentSource 's identifying object. |
SeekableInputStream |
getStream()
Return the stream from which the page segment was read.
|
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
SourceID getSourceID()
PageSegmentSource
's identifying object.SourceID
which uniquely identifies this
PageSegmentSource
among all PageSegmentSource
s.Copyright © 2024 levigo holding gmbh. All rights reserved.