public class JsonContentResolver extends Object implements ContentResolver
| Constructor and Description |
|---|
JsonContentResolver() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
resolveContent(byte[] content)
Resolves the content from the given byte array and returns in another one.
|
boolean |
supportsContentType(String contentType)
Checks if the incoming content type is supported or not.
|
public byte[] resolveContent(byte[] content)
throws IOException
ContentResolverresolveContent in interface ContentResolvercontent - to be read.IOException - when the content can not be read.public boolean supportsContentType(String contentType)
ContentResolversupportsContentType in interface ContentResolvercontentType - content type.Copyright © 2022–2023 Rodnan Sol. All rights reserved.