rjw.dc.processes
Class ExportMovieCD

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--rjw.dc.processes.ExportMovieCD
All Implemented Interfaces:
java.lang.Runnable

public class ExportMovieCD
extends java.lang.Thread

Since:
1.3
Version:
DC0.50
Author:
Robert-Jan van der Waals

Field Summary
static boolean running
          Specifies whether the export process is running
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExportMovieCD(java.lang.String loc, boolean bConfirmDirs, java.lang.String file, java.lang.String cdName, boolean bToFile, boolean bToTable)
          Initializes the export process.
 
Method Summary
 void run()
          Starts the export process.
 void writeToFile(java.util.Vector data)
          Writes the data to the file.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

running

public static boolean running
Specifies whether the export process is running

Constructor Detail

ExportMovieCD

public ExportMovieCD(java.lang.String loc,
                     boolean bConfirmDirs,
                     java.lang.String file,
                     java.lang.String cdName,
                     boolean bToFile,
                     boolean bToTable)
Initializes the export process. All preferences are set

Parameters:
loc - location from which the data is read
bConfirmDirs - indicates if per directory should be asked if the data should be read from this directory
file - the export filename
cdName - name of the location, used for grouping data
Method Detail

run

public void run()
Starts the export process. The data read from the location is written to the export file. Information from the files is separated by.. seperators as specified in the IIF. Errors are shown to user in messageboxes

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

writeToFile

public void writeToFile(java.util.Vector data)
Writes the data to the file. Information from the files is separated by.. seperators as specified in the IIF.