public class DefaultNutsContentTypes extends Object implements net.thevpc.nuts.NutsContentTypes
| Constructor and Description |
|---|
DefaultNutsContentTypes(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
String |
probeContentType(byte[] bytes) |
String |
probeContentType(File path) |
String |
probeContentType(InputStream stream) |
String |
probeContentType(net.thevpc.nuts.NutsPath path) |
String |
probeContentType(Path path) |
String |
probeContentType(URL path) |
public DefaultNutsContentTypes(net.thevpc.nuts.NutsSession session)
public String probeContentType(Path path)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic String probeContentType(File path)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic String probeContentType(URL path)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic String probeContentType(net.thevpc.nuts.NutsPath path)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic String probeContentType(InputStream stream)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic String probeContentType(byte[] bytes)
probeContentType in interface net.thevpc.nuts.NutsContentTypespublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.