com.bubble.serializer
Class Generator
java.lang.Object
com.bubble.serializer.Generator
- public class Generator
- extends java.lang.Object
Generates customized code for serialization.
This is where the magic happens.
The generator inspects classes with reflection to generate
code that performs serialization of fields in the most direct way possible.
For non-private fields, the generated code will access fields directly, not
through reflection.
- Author:
- Leonardo "Bubble" Mesquita
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generator
public Generator()
getSerializer
public Serializer getSerializer(java.lang.Class clazz)
getDeserializer
public Deserializer getDeserializer(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getDeserializer
public Deserializer getDeserializer(java.lang.Class clazz)
Faster Java Serialization.
Copyright (C) 2006 Leonardo Bubble Mesquita.