org.stanwood.media.actions.rename
Class ParsedFileName

java.lang.Object
  extended by org.stanwood.media.actions.rename.ParsedFileName

public class ParsedFileName
extends java.lang.Object

This class is used to hold information about a episode that has been parsed with the @see FileNameParser.


Constructor Summary
ParsedFileName()
           
 
Method Summary
 int getEpisode()
          Used to get the episode number of the file
 int getSeason()
          Returns the season of the file
 void setEpisode(int episode)
          Used to set the episode number of the file
 void setSeason(int season)
          Used to set the season of the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedFileName

public ParsedFileName()
Method Detail

getSeason

public int getSeason()
Returns the season of the file

Returns:
the season of the file

setSeason

public void setSeason(int season)
Used to set the season of the file

Parameters:
season - the season of the file

getEpisode

public int getEpisode()
Used to get the episode number of the file

Returns:
The episode number of the file

setEpisode

public void setEpisode(int episode)
Used to set the episode number of the file

Parameters:
episode - The episode number of the file