public final class GridFSFileCodecProvider extends java.lang.Object implements CodecProvider
GridFSFiles.| 构造器和说明 |
|---|
GridFSFileCodecProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Codec<T> |
get(java.lang.Class<T> clazz,
CodecRegistry registry)
Get a
Codec using the given context, which includes, most importantly, the Class for which a Codec is required. |
public <T> Codec<T> get(java.lang.Class<T> clazz, CodecRegistry registry)
CodecProviderCodec using the given context, which includes, most importantly, the Class for which a Codec is required.get 在接口中 CodecProviderT - the type of the class for which a Codec is requiredclazz - the Class for which to get a Codecregistry - the registry to use for resolving dependent Codec instances