de.unihalle.informatik.MiToBo.tracking.multitarget.datatools
Class MultiStateIO

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.tracking.multitarget.datatools.MultiStateIO

@ALDMetaInfo(export=ALLOWED)
public class MultiStateIO
extends Object

File-IO for (vectors of) MultiState objects.

Author:
Oliver Gress

Constructor Summary
MultiStateIO()
           
 
Method Summary
static Vector<MultiState<MotionModelID>> readMultiStates(String filename)
          Read a vector of MultiState objects from a file with xml-beans representation.
static void writeMultiStates(Vector<MultiState<MotionModelID>> mstates, String filename)
          Write a vector of MultiState objects to file in its xml-beans representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiStateIO

public MultiStateIO()
Method Detail

writeMultiStates

public static void writeMultiStates(Vector<MultiState<MotionModelID>> mstates,
                                    String filename)
                             throws IOException,
                                    de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException,
                                    de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Write a vector of MultiState objects to file in its xml-beans representation.

Parameters:
mstates - Vector of MultiState objects
filename - filename
Throws:
IOException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException

readMultiStates

public static Vector<MultiState<MotionModelID>> readMultiStates(String filename)
                                                         throws org.apache.xmlbeans.XmlException,
                                                                IOException
Read a vector of MultiState objects from a file with xml-beans representation.

Parameters:
filename - filename
Returns:
Vector of MultiState objects
Throws:
org.apache.xmlbeans.XmlException
IOException


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.