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