public static class TikaContentExtractor.TikaContent extends Object implements Serializable
Constructor and Description |
---|
TikaContent(ContentHandler content,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.mime.MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Return the content cached by ContentHandler
|
org.apache.tika.mime.MediaType |
getMediaType()
Return the detected media type of the content
|
org.apache.tika.metadata.Metadata |
getMetadata()
Return the metadata
|
public TikaContent(ContentHandler content, org.apache.tika.metadata.Metadata metadata, org.apache.tika.mime.MediaType mediaType)
public String getContent()
public org.apache.tika.metadata.Metadata getMetadata()
public org.apache.tika.mime.MediaType getMediaType()
Apache CXF