Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jguild.jrpm.io.datatype
Class TypeFactory  view TypeFactory download TypeFactory.java

java.lang.Object
  extended bycom.jguild.jrpm.io.datatype.TypeFactory

public class TypeFactory
extends java.lang.Object

Factory to create rpm data types


Constructor Summary
TypeFactory()
           
 
Method Summary
static DataTypeIf createFromStream(java.io.DataInputStream inputStream, com.jguild.jrpm.io.IndexEntry indexEntry, long length)
          This method creates a rpm data type out of a input stream and an IndexEntry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactory

public TypeFactory()
Method Detail

createFromStream

public static DataTypeIf createFromStream(java.io.DataInputStream inputStream,
                                          com.jguild.jrpm.io.IndexEntry indexEntry,
                                          long length)
                                   throws java.io.IOException
This method creates a rpm data type out of a input stream and an IndexEntry. The object must at the current position of the input stream. The length is only needed for string objects; the string objects will read length bytes of the input stream and will try to convert the data into a rpm data type.