jInfer

cz.cuni.mff.ksi.jinfer.projecttype
Class InputFiles

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.projecttype.InputFiles

public final class InputFiles
extends Object

Class for storing and loading Input into/from project folder.


Method Summary
static void load(InputStream inputStream, Input input, File projectDir)
          Loads and store Input from the XML Input Stream.
static void store(OutputStream outputStream, Input input, File projectDir)
          Writes project Input to the Output Stream in a XML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

store

public static void store(OutputStream outputStream,
                         Input input,
                         File projectDir)
Writes project Input to the Output Stream in a XML format.

Parameters:
outputStream - The Output Stream.
input - Input to store into provided Output Stream.

load

public static void load(InputStream inputStream,
                        Input input,
                        File projectDir)
                 throws IOException
Loads and store Input from the XML Input Stream.

Parameters:
inputStream - The Input Stream.
input - Input to store data.
Throws:
IOException - if an error occurred when reading from the Input Stream.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011