org.gerhardb.jibs.optimizer
Class WorkerDownload
java.lang.Object
org.gerhardb.jibs.optimizer.WorkerDownload
- All Implemented Interfaces:
- java.lang.Runnable
public class WorkerDownload
- extends java.lang.Object
- implements java.lang.Runnable
Does all the actual filtering work.
Orginally intended to be able to be driven from a command line, but that
go lost in the suffle.
Notes: All files without an image file name are automatically DELETED!!!.
|
Constructor Summary |
WorkerDownload(java.io.File[] workingDirs,
java.io.File[] stableDirs,
boolean dedup,
boolean across,
boolean rename,
boolean windows,
boolean cleanUpEnding,
int strain,
boolean resize,
boolean optomize,
int width,
int height,
FileLoopHelper helper,
Killer killer)
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_DATE_FORMAT
public static final java.lang.String FILE_DATE_FORMAT
- See Also:
- Constant Field Values
FILE_DATE
public static final java.text.SimpleDateFormat FILE_DATE
LONG_DATE
public static final java.text.SimpleDateFormat LONG_DATE
WorkerDownload
public WorkerDownload(java.io.File[] workingDirs,
java.io.File[] stableDirs,
boolean dedup,
boolean across,
boolean rename,
boolean windows,
boolean cleanUpEnding,
int strain,
boolean resize,
boolean optomize,
int width,
int height,
FileLoopHelper helper,
Killer killer)
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run()
- Specified by:
run in interface java.lang.Runnable
main
public static void main(java.lang.String[] args)
Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.