public class DefaultNContentTypeResolver extends Object implements net.thevpc.nuts.spi.NContentTypeResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNContentTypeResolver.DefaultNContentTypeResolverModel |
| Constructor and Description |
|---|
DefaultNContentTypeResolver() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findContentTypesByExtension(String extension) |
List<String> |
findExtensionsByContentType(String contentType) |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
DefaultNContentTypeResolver.DefaultNContentTypeResolverModel |
model() |
net.thevpc.nuts.NCallableSupport<String> |
probeContentType(byte[] bytes) |
net.thevpc.nuts.NCallableSupport<String> |
probeContentType(net.thevpc.nuts.io.NPath path) |
public net.thevpc.nuts.NCallableSupport<String> probeContentType(net.thevpc.nuts.io.NPath path)
probeContentType in interface net.thevpc.nuts.spi.NContentTypeResolverpublic net.thevpc.nuts.NCallableSupport<String> probeContentType(byte[] bytes)
probeContentType in interface net.thevpc.nuts.spi.NContentTypeResolverpublic List<String> findExtensionsByContentType(String contentType)
findExtensionsByContentType in interface net.thevpc.nuts.spi.NContentTypeResolverpublic List<String> findContentTypesByExtension(String extension)
findContentTypesByExtension in interface net.thevpc.nuts.spi.NContentTypeResolverpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic DefaultNContentTypeResolver.DefaultNContentTypeResolverModel model()
Copyright © 2025 vpc open source initiative. All rights reserved.