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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeason(int seasonNumber, int episodesCount)
void
void
Remove all seasons in the collectiondebug()
boolean
boolean
boolean
boolean
boolean
int
parse(AbstractBrolWorker<T> bgw)
void
setDestinationParentDirPath(String destinationParentDirPath)
void
setFakeMediaPath(String fakeMediaPath)
void
setMoveAllSeasons(boolean moveAllSeasons)
void
setOriginalDirPath(String originalDirPath)
void
setOverrideFile(boolean overrideFile)
void
setRemoveOrigineFile(boolean removeOrigineFile)
void
setSeasons(TreeSet<SeasonLO> seasons)
void
setShouldCopyTrailer(boolean shouldCopyTrailer)
void
setTestOnly(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
-