|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Monitor | |
|---|---|
| com.antelmann | These are general classes that apply for the framework as a whole. |
| com.antelmann.db | This package contains generally useful classes for generic database management. |
| com.antelmann.image | This package contains classes for more easily dealing with images. |
| com.antelmann.io | This package contains classes that are concerned with input/output operations. |
| com.antelmann.math | This package contains classes to ease calculations. |
| com.antelmann.net | The classes in this package are designed to provide convenient access to Internet related functionality. |
| com.antelmann.net.mail | The classes in this package are designed to ease the handling of emails. |
| com.antelmann.ooffice | The classes in this package are to be used in conjunction with OpenOffice. |
| com.antelmann.sql | This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes |
| com.antelmann.util | This package contains generally useful classes that are used throughout the other packages in this framework. |
| Uses of Monitor in com.antelmann |
|---|
| Fields in com.antelmann declared as Monitor | |
|---|---|
static Monitor |
Debug.monitor
monitor is initialized with new Monitor() |
| Uses of Monitor in com.antelmann.db |
|---|
| Methods in com.antelmann.db with parameters of type Monitor | ||
|---|---|---|
DataMatrix<T> |
EntryAnalyzer.createLoadedMatrix(DataParser<? super T> parser,
Monitor mon)
|
|
static TableModel |
DBUtils.createMappingInfoModel(Database<?> db,
Monitor mon)
|
|
static
|
DBUtils.handle(DBClassStore<T> store,
Handler<? super T,?> handler,
Filter<? super T> filter,
Monitor monitor,
boolean useCommitNotAbort)
|
|
void |
EntryAnalyzer.loadGrid(TimeDataGrid<T> grid,
Monitor mon)
|
|
static
|
AbstractDBEnumeration.monitor(DBEnumeration<E> i,
Monitor monitor)
increments the monitor upon calling next() |
|
static
|
DBUtils.updateAll(DBClassStore<T> store,
Processor<T,E> handler,
Filter<? super T> filter,
Monitor mon)
|
|
| Uses of Monitor in com.antelmann.image |
|---|
| Methods in com.antelmann.image that return Monitor | |
|---|---|
Monitor |
MJPEGReader.getMonitor()
|
| Methods in com.antelmann.image with parameters of type Monitor | |
|---|---|
static ImageIcon[] |
JImageList.getImagesFromDir(File dir,
int maxSize,
FileFilter filter,
Monitor mon)
|
void |
ImageURLEntrySQLStore.refreshThumbnails(int maxWidthHeight,
Filter<? super T> filter,
Monitor mon)
|
void |
ImageEntryManager.refreshThumbnails(int maxWidthHeight,
Filter<? super T> filter,
Monitor mon)
filter and monitor are optional and may be null |
| Uses of Monitor in com.antelmann.io |
|---|
| Methods in com.antelmann.io that return Monitor | |
|---|---|
Monitor |
Backup.getMonitor()
|
Monitor |
MonitorInputStream.getProgressMonitor()
|
| Methods in com.antelmann.io with parameters of type Monitor | |
|---|---|
void |
MyFile.directoryCompare(File dir,
PrintStream ps,
Monitor monitor)
|
void |
Backup.setMonitor(Monitor monitor)
|
MyFile[] |
MyFile.synchronizeDir(File destinationDir,
FileFilter filter,
Logger logger,
Monitor monitor)
This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method. |
MyFile[] |
MyFile.synchronizeDir(File destinationDir,
Logger logger,
Monitor monitor)
This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method. |
static long |
Data.transfer(InputStream from,
OutputStream to,
boolean flushAndClose,
Monitor mon)
|
static long |
Data.transfer(InputStream from,
OutputStream to,
long maxBytes,
byte[] buffer,
boolean flushAndClose,
Monitor mon)
transfers the bytes from the given inputstream to the outputstream. |
static long |
Data.transfer(InputStream from,
OutputStream to,
Monitor mon)
|
void |
MyFile.unzipTo(File directory,
boolean overwriteExistingFiles,
Monitor monitor)
|
void |
MyFile.unzipTo(File directory,
FileFilter filter,
Monitor monitor)
allows to react individually per file on whether to unzip it or nor |
void |
MyFile.zipTo(File file,
FileFilter filter,
String comment,
Monitor monitor)
only the file parameter must not be null |
void |
MyFile.zipTo(File file,
String comment,
Monitor monitor)
|
| Constructors in com.antelmann.io with parameters of type Monitor | |
|---|---|
Backup(File originDir,
File destinationDir,
FileFilter filter,
boolean deleteAtTarget,
Monitor monitor,
Logger logger)
|
|
MonitorInputStream(InputStream in,
Monitor monitor)
Constructs an object to monitor the progress of an input stream. |
|
MonitorInputStream(InputStream in,
Monitor monitor,
boolean maintainSizeAutomatically)
|
|
| Uses of Monitor in com.antelmann.math |
|---|
| Methods in com.antelmann.math with parameters of type Monitor | ||
|---|---|---|
void |
TimeDataGrid.addData(Enumeration<? extends T> e,
Monitor mon)
min and max from the given Monitor remain untouched; a disabled Monitor will lead to CancellationWarning |
|
void |
DataMatrix.addData(Enumeration<? extends T> e,
Monitor mon)
min and max from the given Monitor remain untouched; a disabled Monitor will lead to a break |
|
DataMatrix<T> |
ObjectAnalyzer.createLoadedMatrix(DataParser<? super T> parser,
Monitor mon)
|
|
TimeDataGrid<T> |
ObjectAnalyzer.createLoadedTimeDataGrid(Monitor mon)
|
|
void |
ObjectAnalyzer.loadGrid(TimeDataGrid<T> grid,
Monitor mon)
|
|
static
|
DataMatrix.loadMatrix(DataMatrix<T> matrix,
DBClassStore<? extends T> store,
Filter<? super T> filter,
Monitor mon)
min, max of the given logger must be set explicitly |
|
| Uses of Monitor in com.antelmann.net |
|---|
| Subclasses of Monitor in com.antelmann.net | |
|---|---|
static class |
Spider.SMonitor
Deprecated. |
| Methods in com.antelmann.net with parameters of type Monitor | |
|---|---|
void |
FTPConnector.download(String remoteDir,
String remoteFileName,
OutputStream target,
Monitor monitor)
downloads a single file from the given FTP site to the specified target stream. |
void |
FTPConnector.downloadFile(String remoteDir,
String remoteFileName,
File targetFile,
Monitor monitor)
downloads a single file from the given FTP site to the specified target file. |
Object[] |
FTPConnector.downloadTree(String remoteSourceDir,
File targetDir,
Logger logger,
Monitor monitor)
uses a Monitor for enabling to cancel the operation prematurely. |
static List<URL> |
Spider.searchWebFor(String[] searchPattern,
ArrayList<URL> searchList,
boolean includeHTMLCode,
int level,
boolean currentSiteOnly,
List<URL> excludeList,
List<URL> resultList,
String[] searchURLExclusionPatterns,
Monitor monitor)
Deprecated. |
static URL[] |
Spider.searchWebFor(String[] searchPattern,
URL entryPoint,
boolean includeHTMLCode,
int level,
boolean currentSiteOnly,
String[] searchURLExclusionPatterns,
Monitor monitor)
Deprecated. |
void |
Downloader.setMonitor(Monitor monitor)
|
Object[] |
FTPConnector.synchronizeDirectory(File sourceDir,
String remoteTargetDir,
boolean deleteRemoteFiles,
Logger logger,
Monitor monitor)
This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDirectory() method. |
| Constructors in com.antelmann.net with parameters of type Monitor | |
|---|---|
Downloader(URLCache uc,
OutputStream out,
boolean closeOnCompletion,
Monitor monitor)
|
|
| Uses of Monitor in com.antelmann.net.mail |
|---|
| Methods in com.antelmann.net.mail that return Monitor | |
|---|---|
Monitor |
IMAPBackup.getMonitor()
|
Monitor |
AccountReader.getMonitor()
|
| Methods in com.antelmann.net.mail with parameters of type Monitor | |
|---|---|
void |
POP3Account.sendEmails(Email email,
javax.mail.internet.InternetAddress[] recipients,
EmailCustomizer replacerCallback,
Monitor monitor)
sends the email individually to each address. |
void |
IMAPBackup.setMonitor(Monitor monitor)
|
void |
AccountReader.setMonitor(Monitor monitor)
|
| Constructors in com.antelmann.net.mail with parameters of type Monitor | |
|---|---|
AccountReader(POP3Account account,
Handler<? super Email,? extends IOException> handler,
boolean deleteMessages,
Monitor monitor)
|
|
AccountReader(POP3Account account,
Handler<? super Email,? extends IOException> handler,
boolean deleteMessages,
Monitor monitor,
Logger logger)
|
|
| Uses of Monitor in com.antelmann.ooffice |
|---|
| Methods in com.antelmann.ooffice with parameters of type Monitor | |
|---|---|
com.sun.star.table.XCellRange |
OOCalc.placeTableModel(TableModel model,
Cell.Location upperLeftCorner,
boolean includeHeader,
Monitor mon)
|
com.sun.star.table.XCellRange |
OOCalc.placeTableModel(TableModel model,
String sheet,
int row,
int column,
boolean includeHeader,
Monitor mon)
|
com.sun.star.table.XCellRange |
OOCalc.placeTableModel(TableModel model,
com.sun.star.table.XCell upperLeftCorner,
boolean includeHeader,
Monitor mon)
places the given model into the spreadsheet with the upper left corner at the given location |
| Uses of Monitor in com.antelmann.sql |
|---|
| Methods in com.antelmann.sql with parameters of type Monitor | ||
|---|---|---|
void |
JDBCBackup.backup(OutputStream out,
Logger logger,
Monitor mon,
String... tables)
performs a backup of the table rows for the given table names to the given stream |
|
void |
ConnectionHelper.copyTable(String sourceTable,
Connection target,
String targetTable,
boolean createTable,
Monitor mon)
creates a new table in Connection target corresponding to
the given table in this Connection and transfers all data |
|
void |
JDBCBackup.copyTo(Connection target,
Logger logger,
Monitor backupMonitor,
Monitor restoreMonitor,
String... tables)
instead of just making a backup, the data is directly transferred to the target. |
|
void |
ConnectionHelper.exportAsCSV(File file,
Monitor mon,
String sql,
Object... params)
|
|
void |
ConnectionHelper.exportAsCSV(ResultSet rs,
Writer writer,
Monitor mon)
|
|
void |
ConnectionHelper.exportAsCSV(ResultSet rs,
Writer writer,
Monitor mon,
boolean useQuotes,
String fieldSeparator,
String recordSeparator,
boolean includeHeader)
streams the given ResultSet to the given Writer; note that neither resource is closed within this call! |
|
void |
ConnectionHelper.exportAsCSV(Writer writer,
Monitor mon,
String sql,
Object... params)
|
|
static
|
RelationshipStore.findBrokenRelationships(DBClassStore<T> store,
Collection<T> set,
Monitor monitor,
boolean breakOnFirstEncounter)
looks for broken relationships in the database and puts them into the given collection. |
|
static
|
RelationshipStore.findBrokenRelationships(DBClassStore<T> store,
Monitor monitor,
boolean breakOnFirstEncounter)
|
|
ArrayList<RowItem> |
ConnectionHelper.findInTable(String tableName,
String idColumn,
String pattern,
Monitor mon)
|
|
Process |
Mysqldump.loadFrom(File dumpFile,
Monitor monitor,
boolean wait)
|
|
void |
JDBCBackup.restore(InputStream in,
Monitor mon,
Logger logger,
boolean continueOnInsertionError)
note that before you run the restore, the relevant tables should ideally be made empty |
|
void |
ConnectionHelper.searchDatabaseFor(String text,
PrintStream ps,
Monitor monitor)
searches through the entire database for the given text anywhere in any column and prints hints into the given stream. |
|
Process |
Mysqldump.storeTo(File dumpFile,
Monitor monitor,
boolean wait)
|
|
int |
ConnectionHelper.transferTable(String sourceTable,
Connection target,
String targetTable,
Monitor mon,
Map<String,?> restrictions)
|
|
|
ConnectionHelper.updateRows(Processor<ResultSet,T> updater,
String table,
Map<String,?> fieldRestrictions,
boolean combineWithAndIfTrue,
Monitor mon)
|
|
| Uses of Monitor in com.antelmann.util |
|---|
| Subclasses of Monitor in com.antelmann.util | |
|---|---|
class |
MonitorDelegate
The relevant calls to the monitor are delegated to a ProgressMonitor or JProgressBar or Logger. |
| Methods in com.antelmann.util with parameters of type Monitor | ||
|---|---|---|
static URLClassLoader |
Misc.loadClasses(Monitor monitor,
File... dirOrJar)
preloads all classes found in the given directories and/or Jar files |
|
static URLClassLoader |
Misc.loadFromClassPath(Monitor mon,
String path)
preloads all classes found in the given path |
|
static
|
AbstractIterator.monitor(Enumeration<T> e,
Monitor monitor)
|
|
static
|
AbstractIterator.monitor(Iterator<T> i,
Monitor monitor)
increments the monitor upon calling next() and returns false upon hasNext() if the monitor is disabled |
|
static void |
PDFUtils.splitIntoPages(File pdfFile,
Monitor mon)
splits the given document into separate files, where each page becomes a file named after the given file plus the page number |
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||