public interface MediaTypeTextExtractor
MediaType.boolean supports(javax.ws.rs.core.MediaType mediaType)
MediaType is supported by this extractor.mediaType - to be checked.true if the provided MediaType as input is supported.String extract(byte[] bytes) throws UnsupportedMediaTypeException
bytes - an array of byte representing the input.String with the extracted text.UnsupportedMediaTypeException - if the input implicit Media type is not supported.Copyright © 2014 The Apache Software Foundation. All rights reserved.