de.unihalle.informatik.MiToBo.tracking.multitarget.datatools
Class MultiStateIO
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiStateIO
public MultiStateIO()
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 objectsfilename
- 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.