be.ac.ulg.montefiore.run.jahmm.io
Class HmmBinaryReader

java.lang.Object
  extended by be.ac.ulg.montefiore.run.jahmm.io.HmmBinaryReader

public class HmmBinaryReader
extends java.lang.Object

This class can read Hidden Markov Models from a byte stream.

The HMM objects are simply deserialized. HMMs could thus be unreadable using a different release of this library.


Constructor Summary
HmmBinaryReader()
           
 
Method Summary
static Hmm<?> read(java.io.InputStream stream)
          Reads a HMM from a byte stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmmBinaryReader

public HmmBinaryReader()
Method Detail

read

public static Hmm<?> read(java.io.InputStream stream)
                   throws java.io.IOException
Reads a HMM from a byte stream.

Parameters:
stream - Holds the byte stream the HMM is read from.
Returns:
The HMM read.
Throws:
java.io.IOException


Copyright © 2004,2005 Jean-Marc François.