A B C D F G I L M N O P R S T V W

A

addFiles(File, File) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Adds a new / changed / deleted file to the swing table.
addFiles(File, File) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
addListener(ProcessListener) - Method in class ch.braincell.stickbackup.process.BackupTask
 
archivedDir - Variable in class ch.braincell.stickbackup.process.BackupTask
archive directory where the obsolete files of the destination goes.
archiveDirectories(Date) - Method in class ch.braincell.stickbackup.process.BackupTask
Create all deleted / changed / moved Directories since the last backup in the archive directory.
archiveFileDir - Static variable in class ch.braincell.stickbackup.process.BackupTask
all archiving files will be stored in a subdirectory "archive".
archiveFiles(Date) - Method in class ch.braincell.stickbackup.process.BackupTask
Copy all deleted / changed / moved files since the last backup from the destination directory to the archive directory.
archivingDestinationDirs - Variable in class ch.braincell.stickbackup.process.BackupTask
All deleted or moved directories.
archivingDestinationFiles - Variable in class ch.braincell.stickbackup.process.BackupTask
All deleted, moved or changed files from the backup directory which needs to be archived.

B

BackupController - Class in ch.braincell.stickbackup.gui
 
BackupController(MainJFrame) - Constructor for class ch.braincell.stickbackup.gui.BackupController
 
BackupController.PrepareBackupRunnable - Class in ch.braincell.stickbackup.gui
 
BackupController.PrepareBackupRunnable() - Constructor for class ch.braincell.stickbackup.gui.BackupController.PrepareBackupRunnable
 
BackupController.ProcessBackupRunnable - Class in ch.braincell.stickbackup.gui
 
BackupController.ProcessBackupRunnable() - Constructor for class ch.braincell.stickbackup.gui.BackupController.ProcessBackupRunnable
 
BackupController.ProcessProgressBar - Class in ch.braincell.stickbackup.gui
 
BackupController.ProcessProgressBar() - Constructor for class ch.braincell.stickbackup.gui.BackupController.ProcessProgressBar
 
backupDirectories() - Method in class ch.braincell.stickbackup.process.BackupTask
Create the new backup: create all new / moved directories from the source to the destination directory.
backupFileDir - Static variable in class ch.braincell.stickbackup.process.BackupTask
all backuped files will be copied in the subdirectory "backup".
backupFiles() - Method in class ch.braincell.stickbackup.process.BackupTask
Create the new backup: copy all new / moved / changed files from the source to the destination directory.
backupFinished - Variable in class ch.braincell.stickbackup.gui.BackupController
 
backupPrepared - Variable in class ch.braincell.stickbackup.gui.BackupController
 
backupprogress - Variable in class ch.braincell.stickbackup.process.BackupTask
counts up in the progress of the backup.
BackupTask - Class in ch.braincell.stickbackup.process
Main class for backup tasks.
BackupTask() - Constructor for class ch.braincell.stickbackup.process.BackupTask
 
backupThread - Variable in class ch.braincell.stickbackup.gui.BackupController
 

C

centerWindow(Window) - Static method in class ch.braincell.stickbackup.util.GuiTool
Centers a window on the screen.
ch.braincell.stickbackup.config - package ch.braincell.stickbackup.config
 
ch.braincell.stickbackup.gui - package ch.braincell.stickbackup.gui
 
ch.braincell.stickbackup.gui.table - package ch.braincell.stickbackup.gui.table
 
ch.braincell.stickbackup.process - package ch.braincell.stickbackup.process
 
ch.braincell.stickbackup.util - package ch.braincell.stickbackup.util
 
changedColor - Static variable in class ch.braincell.stickbackup.config.Config
 
choosenDestinationDir - Variable in class ch.braincell.stickbackup.gui.ConfigDialog
 
choosenSourceDir - Variable in class ch.braincell.stickbackup.gui.ConfigDialog
 
cleanupArchivedDirectories() - Method in class ch.braincell.stickbackup.process.BackupTask
Deletes all archived Directories from the backup directory (destination directory).
cleanupArchivedFiles() - Method in class ch.braincell.stickbackup.process.BackupTask
Deletes all archived files from the backup directory (destination directory).
cleanupData(File, File) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Empties the swing table.
clear(String, String) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
Config - Class in ch.braincell.stickbackup.config
 
Config() - Constructor for class ch.braincell.stickbackup.config.Config
Creates a new instance of Config
config - Static variable in class ch.braincell.stickbackup.config.Config
 
config - Variable in class ch.braincell.stickbackup.gui.BackupController
 
config - Variable in class ch.braincell.stickbackup.gui.ConfigDialog
 
ConfigDialog - Class in ch.braincell.stickbackup.gui
This is the configuration window.
ConfigDialog(Frame, boolean) - Constructor for class ch.braincell.stickbackup.gui.ConfigDialog
Creates new form ConfigDialog
ConfigException - Exception in ch.braincell.stickbackup.config
Will be thrown if something goes wrong in configuration (e.g. instance can't be initialized properly).
ConfigException(String, Throwable) - Constructor for exception ch.braincell.stickbackup.config.ConfigException
Creates the exception.
ConfigForm - Class in ch.braincell.stickbackup.gui
 
ConfigForm() - Constructor for class ch.braincell.stickbackup.gui.ConfigForm
Default constructor
copyFile(File, File) - Method in class ch.braincell.stickbackup.process.BackupTask
Copies a file from the source to the destination.
createPanel() - Method in class ch.braincell.stickbackup.gui.ConfigForm
 
createPanel() - Method in class ch.braincell.stickbackup.gui.MainForm
 
createPanel1() - Method in class ch.braincell.stickbackup.gui.ConfigForm
 
createPanel1() - Method in class ch.braincell.stickbackup.gui.MainForm
 

D

defaultChangedColor - Static variable in class ch.braincell.stickbackup.config.Config
 
defaultDestinationColor - Static variable in class ch.braincell.stickbackup.config.Config
 
defaultFinishedColor - Static variable in class ch.braincell.stickbackup.config.Config
 
defaultSourceColor - Static variable in class ch.braincell.stickbackup.config.Config
 
defaultWorkingColor - Static variable in class ch.braincell.stickbackup.config.Config
 
destinationColor - Static variable in class ch.braincell.stickbackup.config.Config
 
destinationDir - Static variable in class ch.braincell.stickbackup.config.Config
 
destinationDir - Variable in class ch.braincell.stickbackup.process.BackupTask
destination directory where the backup of the source goes.
destinationDirLength - Variable in class ch.braincell.stickbackup.process.BackupTask
Length of the destination directory path (convenience for some methods)
destinationDirList - Variable in class ch.braincell.stickbackup.process.BackupTask
directory list of the destination directory (all already backed up files).
destinationDrive - Static variable in class ch.braincell.stickbackup.config.Config
 
destinationFileList - Variable in class ch.braincell.stickbackup.process.BackupTask
Filelist of the destination directory (all already backed up files).
destinationSearchDrive - Static variable in class ch.braincell.stickbackup.config.Config
 

F

FileColorRenderer - Class in ch.braincell.stickbackup.gui.table
 
FileColorRenderer() - Constructor for class ch.braincell.stickbackup.gui.table.FileColorRenderer
 
FileTableModel - Class in ch.braincell.stickbackup.gui.table
 
FileTableModel() - Constructor for class ch.braincell.stickbackup.gui.table.FileTableModel
 
FileTableModel.FileRow - Class in ch.braincell.stickbackup.gui.table
 
FileTableModel.FileRow(int, int) - Constructor for class ch.braincell.stickbackup.gui.table.FileTableModel.FileRow
 
findAllChangedAndNewFiles() - Method in class ch.braincell.stickbackup.process.BackupTask
Compares the source directory with the destination directory and finds all changed and new files.
findAllNewSourceDirectories() - Method in class ch.braincell.stickbackup.process.BackupTask
Compares the source directory with the destination directory and finds all new directories.
findAllRemovedSourceDirectories() - Method in class ch.braincell.stickbackup.process.BackupTask
Compares the source directory with the destination directory and finds all removed directories.
findAllRemovedSourceFiles() - Method in class ch.braincell.stickbackup.process.BackupTask
Compares the source directory with the destination directory and finds all deleted and moved files.
finishedColor - Static variable in class ch.braincell.stickbackup.config.Config
 
finishedFile(File) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Indicates which file has been finished.
frame - Variable in class ch.braincell.stickbackup.gui.BackupController
 

G

getBackupprogress() - Method in class ch.braincell.stickbackup.process.BackupTask
Gets the actual progress index of the process.
getChangedColor() - Method in class ch.braincell.stickbackup.config.Config
Get the color of changed files and directories.
getColumn() - Method in class ch.braincell.stickbackup.gui.table.FileTableModel.FileRow
 
getColumnCount() - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
getColumnName(int) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
getDestinationColor() - Method in class ch.braincell.stickbackup.config.Config
Get the color of destination files and directories to archive.
getDestinationDir() - Method in class ch.braincell.stickbackup.config.Config
Get the destination directory.
getFinishedColor() - Method in class ch.braincell.stickbackup.config.Config
Gets the color for finished files and direcories.
getInstance() - Static method in class ch.braincell.stickbackup.config.Config
Singleton-pattern: get an instance of Config.
getReturnStatus() - Method in class ch.braincell.stickbackup.gui.ConfigDialog
 
getRow() - Method in class ch.braincell.stickbackup.gui.table.FileTableModel.FileRow
 
getRowCount() - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
getSourceColor() - Method in class ch.braincell.stickbackup.config.Config
Get the color of new source files and directories.
getSourceDir() - Method in class ch.braincell.stickbackup.config.Config
Get the source directory.
getString(String) - Static method in class ch.braincell.stickbackup.gui.Messages
Gets a string from the resource bundle.
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class ch.braincell.stickbackup.gui.table.FileColorRenderer
 
getValueAt(int, int) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
getWorkingColor() - Method in class ch.braincell.stickbackup.config.Config
Get the color for files and directories on which the process is working on.
GuiTool - Class in ch.braincell.stickbackup.util
Tools to build GUI's.
GuiTool() - Constructor for class ch.braincell.stickbackup.util.GuiTool
 

I

initializePanel() - Method in class ch.braincell.stickbackup.gui.ConfigForm
Initializer
initializePanel() - Method in class ch.braincell.stickbackup.gui.MainForm
Initializer
isDestinationDriveSearch() - Method in class ch.braincell.stickbackup.config.Config
Flag to switch destination drive name search on or off.
isProcessCanceled() - Method in class ch.braincell.stickbackup.process.BackupTask
test if the process is canceled by the user.
isSourceDriveSearch() - Method in class ch.braincell.stickbackup.config.Config
Flag to switch source drive name search on or off.
isWindows() - Method in class ch.braincell.stickbackup.config.Config
Tests if the system is a Microsoft Windows system.

L

listener - Variable in class ch.braincell.stickbackup.process.BackupTask
 
load() - Method in class ch.braincell.stickbackup.config.Config
Load configuration from disk.
loadDestDir() - Method in class ch.braincell.stickbackup.process.BackupTask
Loads all files from the destination directory (recursive) where the last backup is.
loadImage(String) - Method in class ch.braincell.stickbackup.gui.ConfigForm
Helper method to load an image file from the CLASSPATH
loadImage(String) - Method in class ch.braincell.stickbackup.gui.MainForm
Helper method to load an image file from the CLASSPATH
loadSourceDir() - Method in class ch.braincell.stickbackup.process.BackupTask
Loads all Files from the source directory (recursive) which needs to be backed up.

M

Main - Class in stickbackup
Startup class of the application.
Main() - Constructor for class stickbackup.Main
 
main(String[]) - Static method in class stickbackup.Main
Main method to startup.
MainForm - Class in ch.braincell.stickbackup.gui
 
MainForm() - Constructor for class ch.braincell.stickbackup.gui.MainForm
Default constructor
MainJFrame - Class in ch.braincell.stickbackup.gui
This is the main window of the application.
MainJFrame() - Constructor for class ch.braincell.stickbackup.gui.MainJFrame
Creates new form MainJFrame
Messages - Class in ch.braincell.stickbackup.gui
Translates keys to i18n strings.

N

newSourceDirs - Variable in class ch.braincell.stickbackup.process.BackupTask
All new directories from the source who needs to be backed up.
newSourceFiles - Variable in class ch.braincell.stickbackup.process.BackupTask
All new or changed files from the source who needs to be backed up.

O

onCancel() - Method in class ch.braincell.stickbackup.gui.BackupController
 
onContinue() - Method in class ch.braincell.stickbackup.gui.BackupController
 
onException(Throwable) - Method in class ch.braincell.stickbackup.gui.BackupController
 
onException(Throwable) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Handles exceptions thrown by the processing.
onException(Throwable) - Method in interface ch.braincell.stickbackup.process.ProcessListener
Will be used if an exception happens.
onInit() - Method in class ch.braincell.stickbackup.gui.BackupController
 
onProcess(Process, File...) - Method in class ch.braincell.stickbackup.gui.BackupController
 
onProcess(Process, File...) - Method in interface ch.braincell.stickbackup.process.ProcessListener
Indicates on which files the process is working on.

P

prepareBackup() - Method in class ch.braincell.stickbackup.gui.BackupController
 
Process - Enum in ch.braincell.stickbackup.process
 
processBackup() - Method in class ch.braincell.stickbackup.gui.BackupController
 
processBackupAndArchive() - Method in class ch.braincell.stickbackup.process.BackupTask
Processes archiving and backup of the files.
processCanceled - Variable in class ch.braincell.stickbackup.process.BackupTask
is set to true if the backup process should be canceled.
ProcessListener - Interface in ch.braincell.stickbackup.process
Listener for watching the process outside of the class BackupTask.

R

readFilesToBackupAndArchive() - Method in class ch.braincell.stickbackup.process.BackupTask
Reads the files from the source and the destination.
resetBackup() - Method in class ch.braincell.stickbackup.gui.BackupController
 
RET_CANCEL - Static variable in class ch.braincell.stickbackup.gui.ConfigDialog
A return status code - returned if Cancel button has been pressed
RET_OK - Static variable in class ch.braincell.stickbackup.gui.ConfigDialog
A return status code - returned if OK button has been pressed
run() - Method in class ch.braincell.stickbackup.gui.BackupController.PrepareBackupRunnable
 
run() - Method in class ch.braincell.stickbackup.gui.BackupController.ProcessBackupRunnable
 
run() - Method in class ch.braincell.stickbackup.gui.BackupController.ProcessProgressBar
 

S

save() - Method in class ch.braincell.stickbackup.config.Config
Save the configuration to the disk.
setAbortEnabled(boolean) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Enables / disables the "abort" button.
setChangedColor(Color) - Method in class ch.braincell.stickbackup.config.Config
Set the color of changed files and directories.
setConfigEnabled(boolean) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Enables / disables the "configuration" button.
setContinueEnabled(boolean) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Enables / disables the "continue" button.
setDestinationColor(Color) - Method in class ch.braincell.stickbackup.config.Config
Set the color of destination files and directories to archive.
setDestinationDir(File) - Method in class ch.braincell.stickbackup.config.Config
Sets the destination directory.
setDestinationDriveSearch(boolean) - Method in class ch.braincell.stickbackup.config.Config
Flag to set destination drive name search on or off.
setFinishedColor(Color) - Method in class ch.braincell.stickbackup.config.Config
Sets the color for finished files and direcories.
setFinishedColor(File) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
setMaxProgress(int) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Sets the maximum index for the progress bar.
setProcessCanceled(boolean) - Method in class ch.braincell.stickbackup.process.BackupTask
Sets the cancelation of the process.
setProcessText(String) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Sets the text to indicate which part of the process is actually running.
setProgress(int) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Sets the actual index of the progress bar.
setSourceColor(Color) - Method in class ch.braincell.stickbackup.config.Config
Sets the color for new source files.
setSourceDir(File) - Method in class ch.braincell.stickbackup.config.Config
Sets the source directory.
setSourceDriveSearch(boolean) - Method in class ch.braincell.stickbackup.config.Config
Flag to set source drive name search on or off.
setWorkingColor(Color) - Method in class ch.braincell.stickbackup.config.Config
Set the color for files and directories on which the process is working on.
setWorkingColor(File) - Method in class ch.braincell.stickbackup.gui.table.FileTableModel
 
sourceColor - Static variable in class ch.braincell.stickbackup.config.Config
 
sourceDir - Static variable in class ch.braincell.stickbackup.config.Config
 
sourceDir - Variable in class ch.braincell.stickbackup.process.BackupTask
Source directory which needs to be backed up.
sourceDirLength - Variable in class ch.braincell.stickbackup.process.BackupTask
Length of the source directory path (convenience for some methods)
sourceDirList - Variable in class ch.braincell.stickbackup.process.BackupTask
directory list of the source directory to be backed up
sourceDrive - Static variable in class ch.braincell.stickbackup.config.Config
 
sourceFileList - Variable in class ch.braincell.stickbackup.process.BackupTask
Filelist of the source directory to be backed up
sourceSearchDrive - Static variable in class ch.braincell.stickbackup.config.Config
 
stickbackup - package stickbackup
 

T

tasks - Variable in class ch.braincell.stickbackup.gui.BackupController
 

V

valueOf(String) - Static method in enum ch.braincell.stickbackup.process.Process
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.braincell.stickbackup.process.Process
Returns an array containing the constants of this enum type, in the order they are declared.

W

workingColor - Static variable in class ch.braincell.stickbackup.config.Config
 
workingOnFile(File) - Method in class ch.braincell.stickbackup.gui.MainJFrame
Indicates on which file the process is currently working.

A B C D F G I L M N O P R S T V W

Copyright © 2007. All Rights Reserved.