bayesnet.jayes.io.xmlbif
Class XMLBIFReader
- java.lang.Object
-
- bayesnet.jayes.io.xmlbif.XMLBIFReader
-
- All Implemented Interfaces:
- IBayesNetReader, java.io.Closeable, java.lang.AutoCloseable
public class XMLBIFReader extends java.lang.Object implements IBayesNetReader
a Reader thats reads the XMLBIF v0.3 format (specification)
-
-
Constructor Summary
Constructors Constructor and Description XMLBIFReader(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()BayesNetread()BayesNetreadFromString(java.lang.String xmlBif)
-
-
-
Method Detail
-
read
public BayesNet read() throws java.io.IOException
- Specified by:
readin interfaceIBayesNetReader- Throws:
java.io.IOException
-
readFromString
public BayesNet readFromString(java.lang.String xmlBif) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG