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) |
DefaultNContentTypeResolver.DefaultNContentTypeResolverModel |
model() |
net.thevpc.nuts.concurrent.NScoredCallable<String> |
probeContentType(byte[] bytes) |
net.thevpc.nuts.concurrent.NScoredCallable<String> |
probeContentType(net.thevpc.nuts.io.NPath path) |
public net.thevpc.nuts.concurrent.NScoredCallable<String> probeContentType(net.thevpc.nuts.io.NPath path)
probeContentType in interface net.thevpc.nuts.spi.NContentTypeResolverpublic net.thevpc.nuts.concurrent.NScoredCallable<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 DefaultNContentTypeResolver.DefaultNContentTypeResolverModel model()
Copyright © 2026 vpc open source initiative. All rights reserved.