public interface ContentDetector
Modifier and Type | Method and Description |
---|---|
com.google.common.net.MediaType |
detect(ContentMetadata contentMetadata)
Detects the content media type based on the content metadata.
|
com.google.common.net.MediaType detect(ContentMetadata contentMetadata)
MediaType.OCTET_STREAM
is returned.contentMetadata
- the content metadataMediaType.OCTET_STREAM
if no media type can be safely determinedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.