com.opencms.workplace
Class CmsAdminDatabaseImportThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.opencms.report.A_CmsReportThread
              |
              +--com.opencms.workplace.CmsAdminDatabaseImportThread
All Implemented Interfaces:
Runnable

public class CmsAdminDatabaseImportThread
extends A_CmsReportThread

Imports the database, showing a progress indicator report dialog that is continuously updated.

Version:
$Revision: 1.18 $
Author:
Alexander Kandzior (a.kandzior@alkacon.com), Hanjo Riege

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CmsAdminDatabaseImportThread(CmsObject cms, String existingFile)
          Imports the database.
 
Method Summary
 String getReportUpdate()
          Returns the part of the report that is ready.
 void run()
           
 
Methods inherited from class com.opencms.report.A_CmsReportThread
brokenLinksFound
 
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

CmsAdminDatabaseImportThread

public CmsAdminDatabaseImportThread(CmsObject cms,
                                    String existingFile)
Imports the database.

Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Runnable.run()

getReportUpdate

public String getReportUpdate()
Returns the part of the report that is ready.

Specified by:
getReportUpdate in class A_CmsReportThread
Returns:
the part of the report that is ready for output