at.tuwien.ifs.feature.extraction.audio.output
Class XMLFormatWriter
java.lang.Object
at.tuwien.ifs.feature.extraction.audio.output.AbstractDataWriter
at.tuwien.ifs.feature.extraction.audio.output.XMLFormatWriter
public class XMLFormatWriter
- extends AbstractDataWriter
Copyright Vienna University of Technology
- Version:
- $Id: XMLFormatWriter.java 173 2010-06-17 16:28:05Z mayer $
- Author:
- Thomas Lidy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLFormatWriter
public XMLFormatWriter(java.lang.String outFileName)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeader
private void writeHeader()
throws java.io.IOException
- Throws:
java.io.IOException
setBaseDirectory
public void setBaseDirectory(java.lang.String baseDir)
- Description copied from class:
AbstractDataWriter
- If the base directory is provided, it will be included in the header of the output files.
- Overrides:
setBaseDirectory
in class AbstractDataWriter
- Parameters:
baseDir
- base directory of files provided as fileLabel to the vectors
writeFooter
private void writeFooter()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class AbstractDataWriter
- Throws:
java.io.IOException
writeVector
public void writeVector(FeatureVectorData featureVector)
throws java.io.IOException
- Specified by:
writeVector
in class AbstractDataWriter
- Throws:
java.io.IOException