Jacson

de.spieleck.app.ngramj
Class ProtoReader

java.lang.Object
  extended by de.spieleck.app.ngramj.ProtoReader

public class ProtoReader
extends java.lang.Object

Class to hold (static) methods to read in profile data XXX Probably needs some cleaning up and probably can be optimized.

Version:
$Revision: 2 $ $Date: 2006-03-27 23:00:21 +0200 (Mo, 27 Mrz 2006) $ $Author: nestefan $
Author:
Christiaan Fluit, Frank S. Nestel, $Author: nestefan $

Constructor Summary
ProtoReader()
           
 
Method Summary
protected static void newNGram(java.util.HashMap count, byte[] ba, int start, int len)
           
static java.util.ArrayList read(java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtoReader

public ProtoReader()
Method Detail

read

public static java.util.ArrayList read(java.io.InputStream stream)
                                throws java.io.IOException
Throws:
java.io.IOException

newNGram

protected static void newNGram(java.util.HashMap count,
                               byte[] ba,
                               int start,
                               int len)

spieleck.de