|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjef.dna.constantPoolTable.impl.CPTableFactory
public class CPTableFactory
This class is a concrete implementation of the
Field Summary | |
---|---|
protected static Logger |
logger
|
Constructor Summary | |
---|---|
CPTableFactory()
Creates a new instance of CPTableFactory |
Method Summary | |
---|---|
ConstantPoolTable |
getInstance()
Returns an empty instance of the ConstantPoolTable interface |
ConstantPoolTable |
getInstance(java.io.DataInputStream dis,
Dna dna,
int cptSize)
Returns a populated instance of the ConstantPoolTable interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger logger
Constructor Detail |
---|
public CPTableFactory()
Method Detail |
---|
public ConstantPoolTable getInstance()
ConstantPoolTable
interface
getInstance
in interface ConstantPoolTableFactory
public ConstantPoolTable getInstance(java.io.DataInputStream dis, Dna dna, int cptSize) throws MissingDnaContainerException, DnaDeserializationException
ConstantPoolTable
interface
getInstance
in interface ConstantPoolTableFactory
dis
- The input stream the constant pool table has to be read fromdna
- The Dna
containercptSize
- The number of expected constant pool table entries
MissingDnaContainerException
DnaDeserializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |