public class TableToHTML extends HTMLOutputThread
out
outputPath, writer
sessionResources
threadController
threadDoneListeners
GROUP_TERMINATION_ALLOWED_WITHOUT_CONFIRMATION, GROUP_TERMINATION_NOT_ALLOWED, GROUP_TERMINATION_REQUIRES_CONFIRMATION
Constructor and Description |
---|
TableToHTML(SessionResources sessionResources,
java.lang.String outputFolder,
java.lang.String fileName,
java.lang.String title,
java.lang.String generator,
javax.swing.JTable table)
Constructs an new HTML table print file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName() |
void |
runCore(DataObjectConstructionDetails docd)
Runs the core of the runnable With opportunity to use e.g. a different DB connection.
|
createOutputFile, getBorder, setStandardSettings
getOutputPath, setOutputFolder, writeTo
getSessionResources, isTerminationRequested, isToRun, requiresUserConfirmationToTerminate, runCore, setTerminationRequiresUserConfirmation, start, terminate
free, register, register, run, runPartAfterCore, setStatusInformation, setThreadController
addThreadDoneListener, fireThreadDone, fireThreadDone, getEventMessage, getFinalState, idle, logDebug, logError, logError, logInfo, setEventErrorMessage, setEventMessage, setFinalState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
addThreadDoneListener, setThreadController
public TableToHTML(SessionResources sessionResources, java.lang.String outputFolder, java.lang.String fileName, java.lang.String title, java.lang.String generator, javax.swing.JTable table) throws java.io.IOException
sessionResources
- the session resources to useoutputFolder
- the output folderfileName
- the output file name without extensiontitle
- the title of HTML file (tab name)generator
- the name of the generator (application name)table
- the table to printjava.io.IOException
public java.lang.String getFileName()
public void runCore(DataObjectConstructionDetails docd) throws java.lang.Exception
CoreRunnable
docd
- the DataObjectConstructionDetails to use - that may differ from session data details.java.lang.Exception
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de