Class MediaCleanerParser<T>
java.lang.Object
be.gaudry.model.file.mediacleaner.workers.MediaCleanerParser<T>
- Since:
- 1.0 Sept 03, 2008
- Author:
- Steph GAUDRY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSeason(int seasonNumber, int episodesCount)voidvoidRemove all seasons in the collectiondebug()booleanbooleanbooleanbooleanbooleanintparse(AbstractBrolWorker<T> bgw)voidsetDestinationParentDirPath(String destinationParentDirPath)voidsetFakeMediaPath(String fakeMediaPath)voidsetMoveAllSeasons(boolean moveAllSeasons)voidsetOriginalDirPath(String originalDirPath)voidsetOverrideFile(boolean overrideFile)voidsetRemoveOrigineFile(boolean removeOrigineFile)voidsetSeasons(TreeSet<SeasonLO> seasons)voidsetShouldCopyTrailer(boolean shouldCopyTrailer)voidsetTestOnly(boolean testOnly)
-
Constructor Details
-
MediaCleanerParser
public MediaCleanerParser()
-
-
Method Details
-
isTestOnly
public boolean isTestOnly()- Returns:
- the testOnly
-
setTestOnly
public void setTestOnly(boolean testOnly)- Parameters:
testOnly- true if it's just a test
-
isOverrideFile
public boolean isOverrideFile()- Returns:
- the overrideFile
-
setOverrideFile
public void setOverrideFile(boolean overrideFile)- Parameters:
overrideFile- the overrideFile to set
-
getFakeMediaPath
- Returns:
- the fakeMediaPath
-
setFakeMediaPath
- Parameters:
fakeMediaPath- the fakeMediaPath to set
-
isRemoveOrigineFile
public boolean isRemoveOrigineFile()- Returns:
- the removeOrigineFile
-
setRemoveOrigineFile
public void setRemoveOrigineFile(boolean removeOrigineFile)- Parameters:
removeOrigineFile- the removeOrigineFile to set
-
cleanSeasons
public void cleanSeasons()Remove all seasons in the collection -
getOriginalDirPath
- Returns:
- the originalDirPath
-
setOriginalDirPath
- Parameters:
originalDirPath- the originalDirPath to set
-
getDestinationParentDirPath
- Returns:
- the destinationParentDirPath
-
setDestinationParentDirPath
- Parameters:
destinationParentDirPath- the destinationParentDirPath to set
-
isShouldCopyTrailer
public boolean isShouldCopyTrailer()- Returns:
- the shouldCopyTrailer
-
setShouldCopyTrailer
public void setShouldCopyTrailer(boolean shouldCopyTrailer)- Parameters:
shouldCopyTrailer- the shouldCopyTrailer to set
-
isMoveAllSeasons
public boolean isMoveAllSeasons()- Returns:
- the moveAllSeasons
-
setMoveAllSeasons
public void setMoveAllSeasons(boolean moveAllSeasons)- Parameters:
moveAllSeasons- the moveAllSeasons to set
-
getSeasons
- Returns:
- the seasons
-
setSeasons
- Parameters:
seasons- the seasons to set
-
addSeason
-
addSeason
public void addSeason(int seasonNumber, int episodesCount) -
debug
-
parse
-