| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjef.dna.constantInfo.impl.ConstantInfoFactory
public class ConstantInfoFactory
Class used for instantiating ConstantInfo objects.
| Field Summary | |
|---|---|
| static int | CONSTANT_Class | 
| static int | CONSTANT_Double | 
| static int | CONSTANT_Fieldref | 
| static int | CONSTANT_Float | 
| static int | CONSTANT_Integer | 
| static int | CONSTANT_InterfaceMethodref | 
| static int | CONSTANT_Long | 
| static int | CONSTANT_Methodref | 
| static int | CONSTANT_NameAndType | 
| static int | CONSTANT_String | 
| static int | CONSTANT_Unusable_Entry | 
| static int | CONSTANT_Utf8 | 
| Constructor Summary | |
|---|---|
| ConstantInfoFactory() | |
| Method Summary | |
|---|---|
|  ConstantInfo | getInstance(java.io.DataInputStream dis)This method returns a velid constantInfoinstance iff the provided input
 stream contains at the current position a legalconstantInfoidentifier (or
 tag), followed by all the necessary information as defined by the Java VM Specification
 chapter 4. | 
|  ConstantInfo | getInstance(java.io.DataInputStream dis,
            Dna dna)This method returns a velid constantInfoinstance iff the provided input
 stream contains at the current position a legalconstantInfoidentifier (or
 tag), followed by all the necessary information as defined by the Java VM Specification
 chapter 4. | 
|  ConstantInfo | getInstance(int tag)This method returns ConstantInfocompliant objects. | 
|  ConstantInfo | getInstance(int tag,
            java.io.DataInputStream dis)This method returns ConstantInfocompliant objects. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int CONSTANT_Class
public static final int CONSTANT_Fieldref
public static final int CONSTANT_Methodref
public static final int CONSTANT_InterfaceMethodref
public static final int CONSTANT_String
public static final int CONSTANT_Integer
public static final int CONSTANT_Float
public static final int CONSTANT_Long
public static final int CONSTANT_Double
public static final int CONSTANT_NameAndType
public static final int CONSTANT_Utf8
public static final int CONSTANT_Unusable_Entry
| Constructor Detail | 
|---|
public ConstantInfoFactory()
| Method Detail | 
|---|
public ConstantInfo getInstance(int tag,
                                java.io.DataInputStream dis)
                         throws DnaDeserializationException,
                                UnknownConstantPoolTableEntryException
ConstantInfo compliant objects.
getInstance in interface ConstInfoFactorytag - The tag defining the type of the required ConstantInfo objectdis - The DataInputStream the ConstantInfo has to be read from
DnaDeserializationException
UnknownConstantPoolTableEntryException
public ConstantInfo getInstance(int tag)
                         throws DnaDeserializationException,
                                UnknownConstantPoolTableEntryException
ConstantInfo compliant objects.
getInstance in interface ConstInfoFactorytag - The tag defining the type of the required ConstantInfo object
DnaDeserializationException
UnknownConstantPoolTableEntryException
public ConstantInfo getInstance(java.io.DataInputStream dis)
                         throws DnaDeserializationException,
                                UnknownConstantPoolTableEntryException
ConstInfoFactoryconstantInfo instance iff the provided input
 stream contains at the current position a legal constantInfo identifier (or
 tag), followed by all the necessary information as defined by the Java VM Specification
 chapter 4.
getInstance in interface ConstInfoFactorydis - The input stream opened over the Java class file
constantInfo instance
DnaDeserializationException
UnknownConstantPoolTableEntryException
public ConstantInfo getInstance(java.io.DataInputStream dis,
                                Dna dna)
                         throws DnaDeserializationException,
                                UnknownConstantPoolTableEntryException
ConstInfoFactoryconstantInfo instance iff the provided input
 stream contains at the current position a legal constantInfo identifier (or
 tag), followed by all the necessary information as defined by the Java VM Specification
 chapter 4.
getInstance in interface ConstInfoFactorydis - The input stream opened over the Java class filedna - The current Dna instance the generated ConstantInfo
            will belong to
constantInfo instance
DnaDeserializationException
UnknownConstantPoolTableEntryException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||