public final class DocumentPropertiesMap
extends LinkedHashMap<String,String>
Constructor and Description |
---|
DocumentPropertiesMap() |
Modifier and Type | Method and Description |
---|---|
static DocumentPropertiesMap |
fetch(DocumentStream documentStream,
Optional<Reader> reader)
Fetches properties from a document stream.
|
Optional<DateTime> |
getStamp()
Gets the input last modified time stamp.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
@Nonnull @CheckReturnValue public static DocumentPropertiesMap fetch(@Nonnull DocumentStream documentStream, @Nonnull Optional<Reader> reader) throws IOException
The returned map respects the insertion order.
documentStream
- The document stream.reader
- An optional input stream.IOException
- On file access error.@Nonnull @CheckReturnValue public Optional<DateTime> getStamp()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.