public interface DocumentHeader
Document
s stored in the
IContentRepository
.Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
asMap()
Returns a read-only view of the document metadata.
|
boolean |
exists()
Return
true iff a version of the file existed at the
time that this view was constructed. |
String |
getContentEncoding()
The character set encoding that MUST be used to interpret the byte[]
returned by
Document#getContent() . |
String |
getContentType()
The MIME type for the document.
|
long |
getEarliestVersionCreateTime()
The time at which the earliest version of this file still on record
was created (historical file metadata can be eradicated through
compacting merges).
|
String |
getId()
The unique identifier for the document within the
IContentRepository . |
long |
getMetadataUpdateTime()
The time at which the metadata for the current version of this file
was last updated.
|
Object |
getProperty(String name)
Get an arbitrary property value.
|
int |
getVersion()
Return the version identifier.
|
long |
getVersionCreateTime()
The time at which the current version of this file was created.
|
String getId()
IContentRepository
.String getContentType()
String getContentEncoding()
Document#getContent()
.Object getProperty(String name)
property
- The property name.boolean exists()
true
iff a version of the file existed at the
time that this view was constructed.int getVersion()
IllegalStateException
- unless a version of the file existed at the time that
this view was constructed.long getEarliestVersionCreateTime()
long getVersionCreateTime()
IllegalStateException
- unless a version of the file existed at the time that
this view was constructed.long getMetadataUpdateTime()
IllegalStateException
- unless a version of the file existed at the time that
this view was constructed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.