org.ath.converters
Class Episode

java.lang.Object
  extended by org.ath.converters.Episode

public class Episode
extends java.lang.Object


Constructor Summary
Episode(java.lang.String name)
          Constructor.
Episode(java.lang.String name, java.lang.String fileName, ScriptLineCounter.FileFormats fileFormat)
          Constructor.
Episode(java.lang.String name, java.lang.String fileName, ScriptLineCounter.FileFormats fileFormat, float percentage, int lines, int matched)
          Constructor.
 
Method Summary
 ScriptLineCounter.FileFormats getFileFormat()
           
 java.lang.String getFileName()
           
 int getLines()
           
 int getMatched()
           
 java.lang.String getName()
           
 float getPercentage()
           
 void setFileFormat(ScriptLineCounter.FileFormats fileFormat)
           
 void setFileName(java.lang.String fileName)
           
 void setLines(int lines)
           
 void setMatched(int matched)
           
 void setName(java.lang.String name)
           
 void setPercentage(int percentage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Episode

public Episode(java.lang.String name)
Constructor.

Parameters:
name - Episode name

Episode

public Episode(java.lang.String name,
               java.lang.String fileName,
               ScriptLineCounter.FileFormats fileFormat)
Constructor.

Parameters:
name - Episode name
fileName - File processed
fileFormat - FileFormat detected

Episode

public Episode(java.lang.String name,
               java.lang.String fileName,
               ScriptLineCounter.FileFormats fileFormat,
               float percentage,
               int lines,
               int matched)
Constructor.

Parameters:
name - Episode name
fileName - File processed
fileFormat - FileFormat detected
percentage - the percentage of detected lines
Method Detail

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getFileName

public java.lang.String getFileName()
Returns:
the fileName

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - the fileName to set

getFileFormat

public ScriptLineCounter.FileFormats getFileFormat()
Returns:
the fileFormat

setFileFormat

public void setFileFormat(ScriptLineCounter.FileFormats fileFormat)
Parameters:
fileFormat - the fileFormat to set

getPercentage

public float getPercentage()
Returns:
the percentage

setPercentage

public void setPercentage(int percentage)
Parameters:
percentage - the percentage to set

getLines

public int getLines()
Returns:
the lines

setLines

public void setLines(int lines)
Parameters:
lines - the lines to set

getMatched

public int getMatched()
Returns:
the matched

setMatched

public void setMatched(int matched)
Parameters:
matched - the matched to set