net.sf.dc.processes
Class ImportMovieCD

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.sf.dc.processes.ImportCDProcess
          extended bynet.sf.dc.processes.ImportMovieCD
All Implemented Interfaces:
java.lang.Runnable

public class ImportMovieCD
extends ImportCDProcess

Extract information from movie files (ogg, avi, mpeg, divx, xvid)

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

Field Summary
 
Fields inherited from class net.sf.dc.processes.ImportCDProcess
cdName, confirmEachDir, sourceDir, wf
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ImportMovieCD(java.lang.String sourceDir, boolean confirmEachDir, java.lang.String cdName)
          Initializes (but does not run) the Movie CD import process
 
Method Summary
protected  java.lang.Class getUITargetClass()
          The UI class which will be updated with the results of the import
protected  DCObject parseInformation(java.lang.String sFile)
          Parses the source file for information.
 
Methods inherited from class net.sf.dc.processes.ImportCDProcess
finish, run, writeOutput
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportMovieCD

public ImportMovieCD(java.lang.String sourceDir,
                     boolean confirmEachDir,
                     java.lang.String cdName)
Initializes (but does not run) the Movie CD import process

Parameters:
sourceDir - directory which is used as source for the import
confirmEachDir - indicates whether for each directory confirmation should be asked if the underlying data of this directory should be read or not.
Method Detail

getUITargetClass

protected java.lang.Class getUITargetClass()
The UI class which will be updated with the results of the import

Specified by:
getUITargetClass in class ImportCDProcess

parseInformation

protected DCObject parseInformation(java.lang.String sFile)
Parses the source file for information.

Specified by:
parseInformation in class ImportCDProcess
Parameters:
sFile - file to be parsed