com.meapsoft
Class EDLFile

java.lang.Object
  extended bycom.meapsoft.MEAPFile
      extended bycom.meapsoft.FeatFile
          extended bycom.meapsoft.EDLFile
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class EDLFile
extends FeatFile

Representation of a MEAPsoft edit decision list file.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.meapsoft.FeatFile
chunks, commentPattern, featDescPattern, featureDescriptions, linePattern
 
Fields inherited from class com.meapsoft.MEAPFile
filename, haveReadFile, haveWrittenFile
 
Constructor Summary
EDLFile(java.lang.String fn)
           
 
Method Summary
 double[][] getFeatures()
          Get the matrix of features associated with each chunk in this EDLFile
 double[][] getFeatures(int[] featdim)
          Get the matrix of features associated with each chunk in this EDLFile
 void readFile()
          Read in an EDL file
protected  void write(java.io.Writer w)
          Write the contents of this FeatFile
 
Methods inherited from class com.meapsoft.FeatFile
applyFeatureWeights, clearChunks, clearFeatures, clone, getFeatureLengths, isCompatibleWith, normalizeFeatures
 
Methods inherited from class com.meapsoft.MEAPFile
toString, writeFile, writeFile, writeFile
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EDLFile

public EDLFile(java.lang.String fn)
Method Detail

readFile

public void readFile()
              throws java.io.IOException,
                     ParserException
Read in an EDL file

Overrides:
readFile in class FeatFile
Throws:
java.io.IOException
ParserException

getFeatures

public double[][] getFeatures()
Get the matrix of features associated with each chunk in this EDLFile

Overrides:
getFeatures in class FeatFile

getFeatures

public double[][] getFeatures(int[] featdim)
Get the matrix of features associated with each chunk in this EDLFile

Overrides:
getFeatures in class FeatFile

write

protected void write(java.io.Writer w)
              throws java.io.IOException
Write the contents of this FeatFile

Overrides:
write in class FeatFile
Throws:
java.io.IOException