public class FSTClazzNameRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LOWEST_CLZ_ID |
| Constructor and Description |
|---|
FSTClazzNameRegistry(FSTClazzNameRegistry par) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassMapping(Class c,
int id,
FSTClazzInfo clInfo,
FSTConfiguration conf) |
Class |
classForName(String clName,
FSTConfiguration conf) |
void |
clear() |
FSTClazzInfo |
decodeClass(FSTDecoder in,
FSTConfiguration conf) |
void |
encodeClass(FSTEncoder out,
Class c) |
void |
encodeClass(FSTEncoder out,
FSTClazzInfo ci) |
FSTClazzInfo |
getClazzFromId(int c) |
int |
getIdFromClazz(Class c) |
void |
registerClass(Class c,
FSTConfiguration conf) |
void |
registerClass(Class c,
int code,
FSTConfiguration conf) |
void |
registerClazzFromOtherLoader(Class cl) |
public static final int LOWEST_CLZ_ID
public FSTClazzNameRegistry(FSTClazzNameRegistry par)
public void clear()
public void registerClass(Class c, FSTConfiguration conf)
public void registerClass(Class c, int code, FSTConfiguration conf)
protected void addClassMapping(Class c, int id, FSTClazzInfo clInfo, FSTConfiguration conf)
public int getIdFromClazz(Class c)
public void encodeClass(FSTEncoder out, FSTClazzInfo ci) throws IOException
IOExceptionpublic void encodeClass(FSTEncoder out, Class c) throws IOException
IOExceptionpublic FSTClazzInfo decodeClass(FSTDecoder in, FSTConfiguration conf) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic Class classForName(String clName, FSTConfiguration conf) throws ClassNotFoundException
ClassNotFoundExceptionpublic void registerClazzFromOtherLoader(Class cl)
public FSTClazzInfo getClazzFromId(int c)
Copyright © 2017. All rights reserved.