public class DefaultNContentTypeResolver extends Object implements 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(NSupportLevelContext context) |
DefaultNContentTypeResolver.DefaultNContentTypeResolverModel |
model() |
NCallableSupport<String> |
probeContentType(byte[] bytes) |
NCallableSupport<String> |
probeContentType(NPath path) |
public NCallableSupport<String> probeContentType(NPath path)
probeContentType in interface NContentTypeResolverpublic NCallableSupport<String> probeContentType(byte[] bytes)
probeContentType in interface NContentTypeResolverpublic List<String> findExtensionsByContentType(String contentType)
findExtensionsByContentType in interface NContentTypeResolverpublic List<String> findContentTypesByExtension(String extension)
findContentTypesByExtension in interface NContentTypeResolverpublic int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentpublic DefaultNContentTypeResolver.DefaultNContentTypeResolverModel model()
Copyright © 2025 vpc open source initiative. All rights reserved.