A C D E G H I J K M O P R S T W X

A

addCachedObject(Object, Object, int) - Static method in class org.jtools.cache.Cache
 
appendToFile(String, String) - Static method in class org.jtools.common.ioutil.JFileAppender
Method appendToFile
appendToFile(String, byte[]) - Static method in class org.jtools.common.ioutil.JFileAppender
Method appendToFile
appendToFile(String, StringBuffer) - Static method in class org.jtools.common.ioutil.JFileAppender
Method appendToFile
appendToFile(String, Hashtable, String) - Static method in class org.jtools.common.ioutil.JFileAppender
Method appendToFile
appendToFile(String, String[], String) - Static method in class org.jtools.common.ioutil.JFileAppender
Method appendToFile
askQuestionYesNo(String, String, int) - Static method in class org.jtools.swing.MessageBox
display's a messagebox with the close options yes and no
askQuestionYesNoCancel(String, String, int) - Static method in class org.jtools.swing.MessageBox
display's a messagebox with the close options yes, no and cancel

C

CREATE - Static variable in class org.jtools.xsql.XSqlType
CREATE type used for doing a CREATE TABLE DDL
Cache - class org.jtools.cache.Cache.
Caching Service
Cache() - Constructor for class org.jtools.cache.Cache
 
CacheManager - class org.jtools.cache.CacheManager.
Cache Manager
CacheManager() - Constructor for class org.jtools.cache.CacheManager
 
Cacheable - interface org.jtools.cache.Cacheable.
Caching Interface
This interface defines the methods needed for caching of objects.
CachedObject - class org.jtools.cache.CachedObject.
Cached Object Class
CachedObject(Object, Object, int) - Constructor for class org.jtools.cache.CachedObject
Creates a new cache object.
characters(char[], int, int) - Method in class org.jtools.jpool.system.PoolHandler
 
combo_keyPressed(KeyEvent) - Method in class org.jtools.swing.KComboBox
Functionality for jumping to the right position in the combo box according to the keys pressed.
containsKey(Object) - Static method in class org.jtools.cache.CacheManager
checks if the cache has a specified identifier
createConnection() - Method in class org.jtools.jpool.system.Pool
Creates a new connection as specified with the values in the configuration object.
createDdl(XSqlType, String) - Method in class org.jtools.xsql.XSqlParser
Creates the DDL scripts

D

DEFAULT_EXPIRE - Static variable in class org.jtools.jpool.system.PoolConfig
The maximum time a connection may not be used.
DEFAULT_MAXCONN - Static variable in class org.jtools.jpool.system.PoolConfig
default maximum number of connections to the database.
DEFAULT_MINCONN - Static variable in class org.jtools.jpool.system.PoolConfig
default initial number of connection to the database
DEFAULT_TIMEOUT - Static variable in class org.jtools.jpool.system.PoolConfig
The maximum time for which you will wait to retrieve a connection from the pool
DROP - Static variable in class org.jtools.xsql.XSqlType
DROP type used for doing a DROP TABLE DDL
deregisterDriver(String) - Method in class org.jtools.jpool.system.PoolManager
Deregisters a given driver.
displayMessage(String, String, int) - Static method in class org.jtools.swing.MessageBox
display's a simple messagebox with a specified icon.

E

Example1 - class org.jtools.jpool.demo.Example1.
Example1 Class This application demonstrates how to request a connection from a specific pool, which is defined in the xml configuration file by you.
Example1() - Constructor for class org.jtools.jpool.demo.Example1
 
Example2 - class org.jtools.jpool.demo.Example2.
Example2 Class This application demonstrates on how to use the Sequence Shell.
Example2() - Constructor for class org.jtools.jpool.demo.Example2
 
Example3 - class org.jtools.jpool.demo.Example3.
Example3 Class This application demonstrates how to use the sequence shell with parameters defined in an object array.
Example3() - Constructor for class org.jtools.jpool.demo.Example3
 
ExceptionHandler - class org.jtools.common.exception.ExceptionHandler.
Class containing helpful utilities
ExceptionHandler() - Constructor for class org.jtools.common.exception.ExceptionHandler
 
endElement(String, String, String) - Method in class org.jtools.jpool.system.PoolHandler
 
execute(String, String, Object[]) - Method in class org.jtools.jpool.shell.Sequence
Execute a insert, update or delete query.

G

getCacheObject(Object) - Static method in class org.jtools.cache.CacheManager
retrieves a cached object by his identifier.
getCachedobject(Object) - Static method in class org.jtools.cache.Cache
 
getConfig() - Method in class org.jtools.jpool.system.Pool
Retrieves the configuration object for this pool object
getConfigs() - Method in class org.jtools.jpool.system.PoolHandler
 
getConnection() - Method in class org.jtools.jpool.system.Pool
Retrieves a connection from this pool which you can use as you need it.
getContentType(String) - Method in class org.jtools.fileup.MultipartRequest
Returns the content type of the specified file (as supplied by the client browser), or null if the file was not included in the upload.
getDatabaseURL() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the database url which defines the database to connect to.
getDriver() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the jdbc driver to use in order to establish a connection with the database.
getExpire() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the maximum time a pooled connection may be inactive
getFile(String) - Method in class org.jtools.fileup.MultipartRequest
Returns a File object for the specified file saved on the server's filesystem, or null if the file was not included in the upload.
getFileAsByte(File) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsByte
getFileAsByte(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsByte
getFileAsProperties(File) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsProperties
getFileAsProperties(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsProperties
getFileAsString(File) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsString
getFileAsString(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsString
getFileAsStringBuffer(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsStringBuffer
getFileAsStringBuffer(File) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsStringBuffer
getFileAsVector(File) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsVector
getFileAsVector(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getFileAsVector
getFileNames() - Method in class org.jtools.fileup.MultipartRequest
Returns the names of all the uploaded files as an Enumeration of Strings.
getFilesystemName(String) - Method in class org.jtools.fileup.MultipartRequest
Returns the filesystem name of the specified file, or null if the file was not included in the upload.
getIdentifier() - Method in interface org.jtools.cache.Cacheable
retrieves an identiefer of an cached object
getIdentifier() - Method in class org.jtools.cache.CachedObject
retrieve the identiefer of the cached object
getMaxConnection() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the maximum number of connection established for the database pool
getMinConnection() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the initial number of connections established for database pool
getName() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the name of the database pool as specified in the xml configuration file.
getNext(int) - Method in class org.jtools.common.utils.RandomGenerator
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
getNext(int, int) - Method in class org.jtools.common.utils.RandomGenerator
Returns a pseudorandom, uniformly distributed int value between low and high, drawn from this random number generator's sequence.
getNumberFreeConnections() - Method in class org.jtools.jpool.system.Pool
Retrieves the number of free connections
getNumberUsedConnections() - Method in class org.jtools.jpool.system.Pool
Retrieves the number of used connections.
getObject - Variable in class org.jtools.cache.CachedObject
The cached object
getParameter(String) - Method in class org.jtools.fileup.MultipartRequest
Returns the value of the named parameter as a String, or null if the parameter was not sent or was sent without a value.
getParameterNames() - Method in class org.jtools.fileup.MultipartRequest
Returns the names of all the parameters as an Enumeration of Strings.
getParameterValues(String) - Method in class org.jtools.fileup.MultipartRequest
Returns the values of the named parameter as a String array, or null if the parameter was not sent.
getPassword() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the password to authenticate to the database
getPool(String) - Method in class org.jtools.jpool.system.PoolManager
Retrieves the pool object in order to access the database connections by it's given name as specified in the xml configuration file.
getPoolManager() - Method in class org.jtools.jpool.project.ProjectBean
Retrieves the manager class which holds the methods for accessing the several created pools based upon the xml configuration file.
getPooledConnection() - Method in class org.jtools.jpool.system.Pool
Retrieves a pooled connection and checks if the connection is still within the limit of the maximum defined number of connections.
getRandomItem(ArrayList) - Method in class org.jtools.common.utils.RandomGenerator
Returns a randomly selected element from the ArrayList
getSequenceShell() - Method in class org.jtools.jpool.project.ProjectBean
Retrieves the sequence shell which alows you to execute sql statements in a very easy way.
getStackTrace(Throwable) - Static method in class org.jtools.common.exception.ExceptionHandler
Return the string equivalent of the exception
getStats() - Method in class org.jtools.jpool.system.Pool
Returns a string value with the current statistics of the pool.
getStringItem(ArrayList) - Method in class org.jtools.common.utils.RandomGenerator
Returns a randomly selected element from the ArrayList that is converted to a String.
getTimeout() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the maximum time to wait for a pooled connection.
getUrlAsByte(URL) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsByte
getUrlAsByte(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsByte
getUrlAsString(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsString
getUrlAsString(URL) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsString
getUrlAsStringBuffer(URL) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsStringBuffer
getUrlAsStringBuffer(String) - Static method in class org.jtools.common.ioutil.JFileReader
Method getUrlAsStringBuffer
getUsername() - Method in class org.jtools.jpool.system.PoolConfig
Retrieves the usename to authenticate to the database

H

hasKey(Object) - Static method in class org.jtools.cache.Cache
 
hsmCache - Static variable in class org.jtools.cache.CacheManager
hashmap that holds all the cached objects

I

ICON_ERROR - Static variable in class org.jtools.swing.MessageBox
 
ICON_INFORMATION - Static variable in class org.jtools.swing.MessageBox
 
ICON_PLAIN - Static variable in class org.jtools.swing.MessageBox
 
ICON_QUESTION - Static variable in class org.jtools.swing.MessageBox
 
ICON_WARNING - Static variable in class org.jtools.swing.MessageBox
 
INSERT - Static variable in class org.jtools.xsql.XSqlType
INSERT type used for doing a INSERT INTO DDL
initialize() - Method in class org.jtools.jpool.project.ProjectBean
Initialization of the database pool manager by parsing the xml configuration file as specified by the "XMLFILE" constant.
initialize() - Method in class org.jtools.jpool.system.Pool
Initializes the pool.
initialize(Vector) - Method in class org.jtools.jpool.system.PoolManager
Initializes the manager class by creating all the pools as defined in the xml configuration file.
intThreadSleep - Static variable in class org.jtools.cache.CacheManager
The time the thread goes to sleep
isConnectionExpired(Connection) - Method in class org.jtools.jpool.system.Pool
Checks if a connection is expired or not based upon the expire value in the configuration object.
isExpired() - Method in interface org.jtools.cache.Cacheable
checks if cacheable object is expired
isExpired() - Method in class org.jtools.cache.CachedObject
chechs if the cached object has expired.
isRegistered(String) - Method in class org.jtools.jpool.system.PoolManager
Checks if a given jdbc driver is already registered or not

J

JFileAppender - class org.jtools.common.ioutil.JFileAppender.
Class for Appending content to a file.
JFileAppender() - Constructor for class org.jtools.common.ioutil.JFileAppender
 
JFileReader - class org.jtools.common.ioutil.JFileReader.
Class for Reading from file/url.
JFileReader() - Constructor for class org.jtools.common.ioutil.JFileReader
 
JFileWriter - class org.jtools.common.ioutil.JFileWriter.
Class for writing to file.
JFileWriter() - Constructor for class org.jtools.common.ioutil.JFileWriter
 

K

KComboBox - class org.jtools.swing.KComboBox.
Key JComboBox Class Description: This class is based upon the JComboBox with the added functionality to use the keyboard to jump to the correct or closest value in the combobox.
KComboBox() - Constructor for class org.jtools.swing.KComboBox
 
KComboBox(ComboBoxModel) - Constructor for class org.jtools.swing.KComboBox
 
KComboBox(Object[]) - Constructor for class org.jtools.swing.KComboBox
 
KComboBox(Vector) - Constructor for class org.jtools.swing.KComboBox
 
keySet - Static variable in class org.jtools.cache.CacheManager
holds all the keys of all the cached objects
keys - Static variable in class org.jtools.cache.CacheManager
object for looping of all the keys

M

Main - class org.jtools.xsql.Main.
$Id: Main.java,v 1.2 2002/07/24 01:09:21 placson Exp $
Main() - Constructor for class org.jtools.xsql.Main
 
MessageBox - class org.jtools.swing.MessageBox.
Title: MessageBox Class Description: Utility to show different kind of messageboxes.
MessageBox() - Constructor for class org.jtools.swing.MessageBox
 
MultipartRequest - class org.jtools.fileup.MultipartRequest.
MultipartRequest Class
MultipartRequest(HttpServletRequest, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(HttpServletRequest, String, int) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(HttpServletRequest, String, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(HttpServletRequest, String, int, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(ServletRequest, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(ServletRequest, String, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(ServletRequest, String, int) - Constructor for class org.jtools.fileup.MultipartRequest
 
MultipartRequest(ServletRequest, String, int, String) - Constructor for class org.jtools.fileup.MultipartRequest
 
m_sLineSeperator - Static variable in class org.jtools.common.ioutil.JFileAppender
System dependent line seperator
m_sLineSeperator - Static variable in class org.jtools.common.ioutil.JFileReader
 
m_sLineSeperator - Static variable in class org.jtools.common.ioutil.JFileWriter
System dependent line seperator
main(String[]) - Static method in class org.jtools.jpool.demo.Example1
Executes the Example 1 application
main(String[]) - Static method in class org.jtools.jpool.demo.Example2
Executes the Example2 application
main(String[]) - Static method in class org.jtools.jpool.demo.Example3
Executes the Example3 application
main(String[]) - Static method in class org.jtools.xsql.Main
 

O

objIdentifier - Variable in class org.jtools.cache.CachedObject
Identifier of the object
org.jtools.cache - package org.jtools.cache
 
org.jtools.common.exception - package org.jtools.common.exception
 
org.jtools.common.ioutil - package org.jtools.common.ioutil
 
org.jtools.common.utils - package org.jtools.common.utils
 
org.jtools.fileup - package org.jtools.fileup
 
org.jtools.jpool.demo - package org.jtools.jpool.demo
 
org.jtools.jpool.project - package org.jtools.jpool.project
 
org.jtools.jpool.shell - package org.jtools.jpool.shell
 
org.jtools.jpool.system - package org.jtools.jpool.system
 
org.jtools.swing - package org.jtools.swing
 
org.jtools.xsql - package org.jtools.xsql
 

P

Pool - class org.jtools.jpool.system.Pool.
Pool Class The pool class contains a collection of connection to the database as specified in the configuration object.
Pool(PoolConfig) - Constructor for class org.jtools.jpool.system.Pool
Constructs the pool based up the given configuration object
PoolConfig - class org.jtools.jpool.system.PoolConfig.
PoolConfig Class This class represents the values used to set up the connections to one database.
PoolConfig() - Constructor for class org.jtools.jpool.system.PoolConfig
Default Constructor from which the default values are set.
PoolHandler - class org.jtools.jpool.system.PoolHandler.
PoolHandler Class This handler class parses the XML configuration file with from the given file path.
PoolHandler() - Constructor for class org.jtools.jpool.system.PoolHandler
 
PoolManager - class org.jtools.jpool.system.PoolManager.
PoolManager Class This class represent the collection of pools.
PoolManager(Vector) - Constructor for class org.jtools.jpool.system.PoolManager
Construct the manager class based upon the configuration object created through the xml file.
PoolParser - class org.jtools.jpool.system.PoolParser.
PoolParser Class Class that parses the XML configuration file with the full pathname and file provided in the constructor.
PoolParser() - Constructor for class org.jtools.jpool.system.PoolParser
 
ProjectBean - class org.jtools.jpool.project.ProjectBean.
ProjectBean Class Class representing the initialization of the pools as defined in the xml configuration file.
ProjectBean() - Constructor for class org.jtools.jpool.project.ProjectBean
Default Constructor : initializes the database pool manager
parseConfiguration(String) - Static method in class org.jtools.jpool.system.PoolParser
 
process(String) - Method in class org.jtools.xsql.XSqlParser
Process the URL

R

RandomGenerator - class org.jtools.common.utils.RandomGenerator.
Simple Random Generator class
RandomGenerator() - Constructor for class org.jtools.common.utils.RandomGenerator
Constructor that initializes the RandomGenerator
readAndSaveFile(MultipartInputStreamHandler, String, String, String) - Method in class org.jtools.fileup.MultipartRequest
A utility method that reads a single part of the multipart request that represents a file, and saves the file to the given directory.
readNextPart(MultipartInputStreamHandler, String) - Method in class org.jtools.fileup.MultipartRequest
A utility method that reads an individual part.
readNextPart(MultipartInputStreamHandler, String, String) - Method in class org.jtools.fileup.MultipartRequest
 
readParameter(MultipartInputStreamHandler, String) - Method in class org.jtools.fileup.MultipartRequest
A utility method that reads a single part of the multipart request that represents a parameter.
readRequest() - Method in class org.jtools.fileup.MultipartRequest
The workhorse method that actually parses the request.
readRequest(String) - Method in class org.jtools.fileup.MultipartRequest
 
registerDriver(String) - Method in class org.jtools.jpool.system.PoolManager
Registers a driver as specified in the configuration object(s).
repaint() - Method in class org.jtools.swing.KComboBox
 
replace(String, String, String) - Static method in class org.jtools.common.utils.StringUtils
Simple search and replace
retrieveConnection(long) - Method in class org.jtools.jpool.system.Pool
Tries to retrieves a connection from the pool but the given timeout may not be exceded.
returnConnection(Connection) - Method in class org.jtools.jpool.system.Pool
Returns a requested pool connection to the pool and makes it available again for request.

S

Sequence - class org.jtools.jpool.shell.Sequence.
Sequence Class This shell provides an easy way to execute sql statement through the select and the execute method.
Sequence(PoolManager) - Constructor for class org.jtools.jpool.shell.Sequence
Constructs the Sequence shell class in order to access the database pools in an easy way.
StringUtils - class org.jtools.common.utils.StringUtils.
String class that has useful string manipulation utilities
StringUtils() - Constructor for class org.jtools.common.utils.StringUtils
 
select(String, String, Object[]) - Method in class org.jtools.jpool.shell.Sequence
Executes a select statement which returns a Vector with the results of the statement.
setCacheObject(Cacheable) - Static method in class org.jtools.cache.CacheManager
puts an object in the cache.
setDatabaseURL(String) - Method in class org.jtools.jpool.system.PoolConfig
Sets the database url which defines to which database you want to connect
setDriver(String) - Method in class org.jtools.jpool.system.PoolConfig
Sets the jdbc driver in order to establish connections with the database
setExpire(long) - Method in class org.jtools.jpool.system.PoolConfig
Sets the maximum time a pooled connections may be inactive
setMaxConnection(int) - Method in class org.jtools.jpool.system.PoolConfig
Sets the maximum number of connections that may be requested simultaniously
setMinConnection(int) - Method in class org.jtools.jpool.system.PoolConfig
Sets the initial number of connections to be created
setName(String) - Method in class org.jtools.jpool.system.PoolConfig
Sets the database name as specified in the xml configuration.
setPassword(char[]) - Method in class org.jtools.jpool.system.PoolConfig
Sets the password to authenticate to the database
setTimeout(long) - Method in class org.jtools.jpool.system.PoolConfig
Sets the maximum time to wait to retrieve a pooled connection
setUsername(String) - Method in class org.jtools.jpool.system.PoolConfig
Sets the username to authenticate to the database
startDocument() - Method in class org.jtools.jpool.system.PoolHandler
 
startElement(String, String, String, Attributes) - Method in class org.jtools.jpool.system.PoolHandler
 

T

toString() - Method in class org.jtools.xsql.XSqlType
 

W

writeToFile(String, Vector, String) - Static method in class org.jtools.common.ioutil.JFileAppender
Method writeToFile
writeToFile(String, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(String, byte[]) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(File, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(File, byte[]) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(File, StringBuffer) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(String, StringBuffer) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(File, Vector) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(String, Vector) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile Writes each element of Vector on a new line
writeToFile(File, String[]) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(String, String[]) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(String, Hashtable, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeToFile(File, Hashtable, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeToFile
writeUrlToFile(String, URL) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeUrlToFile
writeUrlToFile(String, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeUrlToFile
writeUrlToFile(File, URL) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeUrlToFile
writeUrlToFile(File, String) - Static method in class org.jtools.common.ioutil.JFileWriter
Method writeUrlToFile

X

XSqlParser - class org.jtools.xsql.XSqlParser.
Simple XML parser used for creating SQL DDL CREATE, INSERT, or DROP scripts.
XSqlParser() - Constructor for class org.jtools.xsql.XSqlParser
Constructor
XSqlType - class org.jtools.xsql.XSqlType.
Simple type-safe enum used for XSqlParser

A C D E G H I J K M O P R S T W X