Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G I K L M O P R S T U W

A

addLevelsToPrint(String) - Method in class org.dinopolis.util.debug.Debug
adds one or more levels, for which messages should be printed (levels can be separated by space, tab, newline or comma).

B

buf_ - Variable in class org.dinopolis.util.debug.Debug.PrintReaderWriter
 

C

CLASS_PACKAGE - Static variable in class org.dinopolis.util.debug.DebugMessageFormatFactory
 
CLASS_PREFIX - Static variable in class org.dinopolis.util.debug.DebugMessageFormatFactory
 
CR - Static variable in class org.dinopolis.util.debug.Debug
carriage return on this system

D

DEBUG - Static variable in class org.dinopolis.util.debug.Debug
if false, any Debug-calls should be removed from class-code when compiling them and "if (Debug.DEBUG) stands before every call to Debug.print...
DEBUG_DEBUG - Static variable in class org.dinopolis.util.debug.Debug
Only if true, debug messages for the debug class are printed.
Debug - class org.dinopolis.util.debug.Debug.
Debug helps the programmer to print various debug messages.
Debug() - Constructor for class org.dinopolis.util.debug.Debug
 
Debug.PrintReaderWriter - class org.dinopolis.util.debug.Debug.PrintReaderWriter.
this class is a workaround to let Throwable.printStackTrace(PrintWriter) write somewhere, where it can be reread line by line.
Debug.PrintReaderWriter(int) - Constructor for class org.dinopolis.util.debug.Debug.PrintReaderWriter
 
Debug.RefreshPropertiesThread - class org.dinopolis.util.debug.Debug.RefreshPropertiesThread.
 
Debug.RefreshPropertiesThread(Debug) - Constructor for class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
DebugMessageDATE - class org.dinopolis.util.debug.DebugMessageDATE.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageDATE() - Constructor for class org.dinopolis.util.debug.DebugMessageDATE
 
DebugMessageDIFFMILLISECONDS - class org.dinopolis.util.debug.DebugMessageDIFFMILLISECONDS.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageDIFFMILLISECONDS() - Constructor for class org.dinopolis.util.debug.DebugMessageDIFFMILLISECONDS
 
DebugMessageFormatFactory - class org.dinopolis.util.debug.DebugMessageFormatFactory.
This class is responsible for creating the parts of the message format.
DebugMessageFormatFactory() - Constructor for class org.dinopolis.util.debug.DebugMessageFormatFactory
 
DebugMessageFormatObject - class org.dinopolis.util.debug.DebugMessageFormatObject.
This class is the baseclass for all objects responsible for the formatting of the Debug message.
DebugMessageFormatObject() - Constructor for class org.dinopolis.util.debug.DebugMessageFormatObject
Empty default constructor (all subclasses are created by a factory).
DebugMessageLEVEL - class org.dinopolis.util.debug.DebugMessageLEVEL.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageLEVEL() - Constructor for class org.dinopolis.util.debug.DebugMessageLEVEL
 
DebugMessageMESSAGE - class org.dinopolis.util.debug.DebugMessageMESSAGE.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageMESSAGE() - Constructor for class org.dinopolis.util.debug.DebugMessageMESSAGE
 
DebugMessageMILLISECONDS - class org.dinopolis.util.debug.DebugMessageMILLISECONDS.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageMILLISECONDS() - Constructor for class org.dinopolis.util.debug.DebugMessageMILLISECONDS
 
DebugMessageSTACKTRACE - class org.dinopolis.util.debug.DebugMessageSTACKTRACE.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageSTACKTRACE() - Constructor for class org.dinopolis.util.debug.DebugMessageSTACKTRACE
 
DebugMessageSTACKTRACELINE - class org.dinopolis.util.debug.DebugMessageSTACKTRACELINE.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageSTACKTRACELINE() - Constructor for class org.dinopolis.util.debug.DebugMessageSTACKTRACELINE
 
DebugMessageTHREAD - class org.dinopolis.util.debug.DebugMessageTHREAD.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageTHREAD() - Constructor for class org.dinopolis.util.debug.DebugMessageTHREAD
 
DebugMessageTHREADGROUP - class org.dinopolis.util.debug.DebugMessageTHREADGROUP.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageTHREADGROUP() - Constructor for class org.dinopolis.util.debug.DebugMessageTHREADGROUP
 
DebugMessageTHREADNAME - class org.dinopolis.util.debug.DebugMessageTHREADNAME.
This class is chosen by the DebugMessageFactory depending on the token used in the message format.
DebugMessageTHREADNAME() - Constructor for class org.dinopolis.util.debug.DebugMessageTHREADNAME
 
debug_ - Variable in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
debug_instance_ - Static variable in class org.dinopolis.util.debug.Debug
an object of this class (see getInstance 55

E

enable(boolean) - Method in class org.dinopolis.util.debug.Debug
Denable/disable debug output.
enabled_ - Variable in class org.dinopolis.util.debug.Debug
if false, no debugging messages will be printed
end_time_ - Variable in class org.dinopolis.util.debug.Timer
end-time of this Timer
executeMainMethod(String, String[]) - Method in class org.dinopolis.util.debug.Debug
Calls the main method of the given class.

F

filename_ - Variable in class org.dinopolis.util.debug.Debug
in case the output is written to a file, that's the name of it
formatMessage(String, String) - Method in class org.dinopolis.util.debug.Debug
Formats a message according to the format string set by the method setMessageFormat.

G

getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageDATE
This implementation returns the current date/time.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageDIFFMILLISECONDS
This implementation returns the time difference since the last debug message was printed in milliseconds.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageFormatObject
This is the method to override on subclasses.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageLEVEL
This implementation returns the debug level.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageMESSAGE
This implementation returns the debug message itself.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageMILLISECONDS
This implementation returns the current time in milliseconds.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageSTACKTRACE
This implementation returns a stacktrace.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageSTACKTRACELINE
This implementation returns a stacktrace.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageTHREAD
This implementation returns the string represenation of the current thread.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageTHREADGROUP
This implementation returns the name the threadgroup of the current thread.
getEvaluatedKeyword(String, String, Debug) - Method in class org.dinopolis.util.debug.DebugMessageTHREADNAME
This implementation returns the name of the current thread.
getInstance() - Static method in class org.dinopolis.util.debug.Debug
Returns an instance of this class (so Debug can be used as a singleton)
getLabel() - Method in class org.dinopolis.util.debug.Timer
 
getLastDebugMessageTime() - Method in class org.dinopolis.util.debug.Debug
Returns the time in milliseconds the last debug message was printed.
getMessageFormatObject(String) - Static method in class org.dinopolis.util.debug.DebugMessageFormatFactory
Returns a new object of the specified DebugMessage.
getStackTrace() - Method in class org.dinopolis.util.debug.Debug
Returns a stacktrace.
getStackTrace(Throwable) - Method in class org.dinopolis.util.debug.Debug
Returns the stacktrace of throwable.
getStackTrace(int, int) - Method in class org.dinopolis.util.debug.Debug
returns StackTrace as a String.
getStackTrace(Throwable, int, int) - Method in class org.dinopolis.util.debug.Debug
returns StackTrace as a String
getStackTraceLine() - Method in class org.dinopolis.util.debug.Debug
Returns the line of the source code from which this method was called.
getTime() - Method in class org.dinopolis.util.debug.Timer
 
getTimeDifference() - Method in class org.dinopolis.util.debug.Timer
 
getTimer(String) - Method in class org.dinopolis.util.debug.Debug
Returns the string representation of the named timer, but does not stop it.
getWriter() - Method in class org.dinopolis.util.debug.Debug
Returns the Writer, where the debug messages are written to.

I

isEnabled() - Method in class org.dinopolis.util.debug.Debug
Returns true, if debug output is enabled.
isEnabled(String) - Method in class org.dinopolis.util.debug.Debug
Return true, if debug output is enabled for the given level.
isLevelEnabled(String) - Method in class org.dinopolis.util.debug.Debug
Checks, if messages for the given debug level are printed.

K

KEYWORD_DELIMITER - Static variable in class org.dinopolis.util.debug.Debug
Delimiter for format keywords

L

label_ - Variable in class org.dinopolis.util.debug.Timer
label of this Timer
last_message_time_ - Variable in class org.dinopolis.util.debug.Debug
the time the last debug message was printed
levels_to_print_ - Variable in class org.dinopolis.util.debug.Debug
Set with all levels chosen to display
loadProperties() - Method in class org.dinopolis.util.debug.Debug
Loads the property file.
loop_ - Variable in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 

M

main(String[]) - Static method in class org.dinopolis.util.debug.Debug
The main method can be used to set Debug options and then start a given application.
message_format_ - Variable in class org.dinopolis.util.debug.Debug
Vector holding the objects creating the message string
message_format_lock_ - Variable in class org.dinopolis.util.debug.Debug
lock to synchronize on the message_format_

O

objectToString(Object) - Static method in class org.dinopolis.util.debug.Debug
Returns a String representation of the object, this method also handles primitive arrays and object arrays.
org.dinopolis.util.debug - package org.dinopolis.util.debug
 
out_ - Static variable in class org.dinopolis.util.debug.Debug
where to write the messages to (default is System.err

P

pos_ - Variable in class org.dinopolis.util.debug.Debug.PrintReaderWriter
 
print(Object) - Method in class org.dinopolis.util.debug.Debug
Prints an object (its string-representation).
print(String, Object) - Method in class org.dinopolis.util.debug.Debug
Prints an object (its string-representation) using the given debug-level.
printAllLevels(boolean) - Method in class org.dinopolis.util.debug.Debug
Should all debug messages be printed, ignoring the level?
printMsg(String, String) - Method in class org.dinopolis.util.debug.Debug
Prints a message if the given level is allowed to be printed or if the level is an empty string.
printRawMsg(String) - Method in class org.dinopolis.util.debug.Debug
Prints a message to the specified writer (default is System.err).
print_all_levels_ - Variable in class org.dinopolis.util.debug.Debug
 
println(char[]) - Method in class org.dinopolis.util.debug.Debug.PrintReaderWriter
 
println(Object) - Method in class org.dinopolis.util.debug.Debug
Prints an object (its string-representation).
println(String, Object) - Method in class org.dinopolis.util.debug.Debug
Prints an object (its string-representation) using the given debug-level.
property_file_last_modified_ - Variable in class org.dinopolis.util.debug.Debug
 

R

REFRESH_PROPERTIES_THREAD_PRIORITY - Static variable in class org.dinopolis.util.debug.Debug
priority of the thread that refreshes the properties
readln() - Method in class org.dinopolis.util.debug.Debug.PrintReaderWriter
 
ready() - Method in class org.dinopolis.util.debug.Debug.PrintReaderWriter
 
refresh_properties_thread_ - Variable in class org.dinopolis.util.debug.Debug
Thread used to refresh properties from user_property_file_
refresh_time_ - Variable in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
removeAllLevelsToPrint() - Method in class org.dinopolis.util.debug.Debug
removes all levels, for which messages should be printed
removeLevelsToPrint(String) - Method in class org.dinopolis.util.debug.Debug
removes one or more levels, for which messages should be printed (levels can be separated by space, tab, newline or comma).
run() - Method in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 

S

setMessageFormat(String) - Method in class org.dinopolis.util.debug.Debug
Set the format of the debug messages.
setPropertyFile(String) - Method in class org.dinopolis.util.debug.Debug
Sets the filename from where the debug properties are read.
setRefreshTime(long) - Method in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
setWriter(Writer) - Method in class org.dinopolis.util.debug.Debug
Sets the writer the debug messages are written to.
setWriterToFile(String) - Method in class org.dinopolis.util.debug.Debug
Writes all messages to a file.
startDebugApplication(String[]) - Method in class org.dinopolis.util.debug.Debug
Parses the given arguments, filters out the debug-util specific ones, applies these (e.g.
startRefreshPropertiesThread(long) - Method in class org.dinopolis.util.debug.Debug
The Debug Util class is able to reread its property-file from an * independent thread, so any changes in the file (e.g.
startThread() - Method in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
startTimer(String) - Method in class org.dinopolis.util.debug.Debug
Creates a new Timer and names it.
startTimer() - Method in class org.dinopolis.util.debug.Timer
starts the timer
start_time_ - Variable in class org.dinopolis.util.debug.Timer
start-time of this Timer
stopRefreshPropertiesThread() - Method in class org.dinopolis.util.debug.Debug
The thread that rereads the debug property file is stopped, so any changes in the file are ignored.
stopThread() - Method in class org.dinopolis.util.debug.Debug.RefreshPropertiesThread
 
stopTimer(String) - Method in class org.dinopolis.util.debug.Debug
Stops the named timer and returns the string representation of it.
stopTimer() - Method in class org.dinopolis.util.debug.Timer
stops the timer

T

Timer - class org.dinopolis.util.debug.Timer.
Timer is used to measure time differences.
Timer(String) - Constructor for class org.dinopolis.util.debug.Timer
creates new Timer with the specified debug group and level
timers_ - Variable in class org.dinopolis.util.debug.Debug
Where to store timer-information
toString() - Method in class org.dinopolis.util.debug.Timer
 
tokenize(String) - Static method in class org.dinopolis.util.debug.Debug
Makes an array of strings out of a string (the tokens can be separated by tab, space, newline or comma)

U

user_property_file_ - Variable in class org.dinopolis.util.debug.Debug
 
user_property_file_lock_ - Variable in class org.dinopolis.util.debug.Debug
 
user_property_file_name_ - Variable in class org.dinopolis.util.debug.Debug
name of property file in home directory of user

W

waitEnterPressed() - Static method in class org.dinopolis.util.debug.Debug
Stops the program and waits for a 'enter' on System.in.
write_to_file_ - Variable in class org.dinopolis.util.debug.Debug
true, if output is written to a file (must be closed after each access)

A B C D E F G I K L M O P R S T U W