andyLib v0.8
C D F G H I L M N P R S U V W 

C

code - Variable in enum it.andynaz.log.Level
Level code.
concat(String[], String) - Static method in class it.andynaz.utils.Utils
Concat the elements in an array s, using the string sep.
concat(List, String) - Static method in class it.andynaz.utils.Utils
Concat the elements in a list l, using the string sep.
conf - Static variable in class it.andynaz.log.Config
Deprecated.
Shared configuration.
Config - Class in it.andynaz.log
Deprecated.
Use the ConfigMgr class to have a configuration for the whole application and not just for the "andyLog" project; this class will be removed in future version.
Config(Properties) - Constructor for class it.andynaz.log.Config
Deprecated.
Creates a new configuration.
ConfigMgr - Class in it.andynaz.config
Class to centralize the configuration of a program as a set of parameters.
ConfigMgr() - Constructor for class it.andynaz.config.ConfigMgr
 
cp(InputStream, OutputStream) - Static method in class it.andynaz.utils.UtilsIO
Copy the content of an InputStream in an OutputStream.
cp(File, File) - Static method in class it.andynaz.utils.UtilsIO
Copy a file.
createZip(File) - Static method in class it.andynaz.utils.UtilsZIP
Compresses a file.

D

dateFormat - Variable in class it.andynaz.log.Logger
Indicates the format of the date.

F

FileLogger - Class in it.andynaz.log
File Logger.
FileLogger(String, Config) - Constructor for class it.andynaz.log.FileLogger
Deprecated.
Use FileLogger.FileLogger(String, Properties) instead; this method will be removed in future release.
FileLogger(String, Properties) - Constructor for class it.andynaz.log.FileLogger
Creates a FileLogger with a name and a configuration.
FileLogger(String) - Constructor for class it.andynaz.log.FileLogger
Creates a FileLogger with a name.
FileLogger(Config) - Constructor for class it.andynaz.log.FileLogger
Deprecated.
Use FileLogger.FileLogger(Properties) instead; this method will be removed in future release.
FileLogger(Properties) - Constructor for class it.andynaz.log.FileLogger
Creates a FileLogger with a configuration.
FileLogger() - Constructor for class it.andynaz.log.FileLogger
Creates a FileLogger.

G

getCode() - Method in enum it.andynaz.log.Level
Returns the code of this level.
getConfig() - Static method in class it.andynaz.log.Config
Deprecated.
Returns the shared configuration.
getConfigParam(String) - Static method in class it.andynaz.config.ConfigMgr
Return the config parameter associated with the name.
getConfigParams() - Static method in class it.andynaz.config.ConfigMgr
Returns a Properties object with all the properties stored.
getDate() - Method in class it.andynaz.log.Logger
Returns a string with the date.
getInitParam(String, String[]) - Static method in class it.andynaz.utils.Utils
Returns a paramenter taken from a string array (for instance the one passed to a 'main' method).
getIntegerParameter(HttpServletRequest, String) - Static method in class it.andynaz.utils.UtilsWEB
Takes a numeric parameter from an HTTP request.
getLogger() - Static method in class it.andynaz.log.LoggerMgr
Returns a "default" logger without a name.
getLogger(String) - Static method in class it.andynaz.log.LoggerMgr
Returnes a "default" logger with a name.
getLoggerClass() - Static method in class it.andynaz.log.LoggerMgr
Returns the class used to create the logger.
getPrefix() - Method in class it.andynaz.log.Logger
Deprecated.
this method will be joined int the Logger.getPrefix(Level) method in future release
getPrefix(Level) - Method in class it.andynaz.log.Logger
Returns the prefix to be written before the log.
getProperty(String) - Method in class it.andynaz.log.Config
Deprecated.
Get a property value.
getUnsignedInt(byte) - Static method in class it.andynaz.utils.UtilsIO
Convert a byte in an unsigned int.

H

hasToLog(Level) - Method in enum it.andynaz.log.Level
Test if a log has to be written.

I

init() - Static method in class it.andynaz.config.ConfigMgr
Loads the parameters stored in System.getProperties().
init(Properties) - Static method in class it.andynaz.config.ConfigMgr
Loads the parameters stored in the Properties object.
init(Properties) - Static method in class it.andynaz.log.Config
Deprecated.
Inizialize the shared configuration with a Properties object.
init(String) - Static method in class it.andynaz.log.Config
Deprecated.
Inizialize the shared configuration with a file of properties.
init() - Static method in class it.andynaz.log.Config
Deprecated.
Inizialize the shared configuration.
isEmpty(String) - Static method in class it.andynaz.utils.Utils
Check if a string is empty.
it.andynaz.config - package it.andynaz.config
Classes to have a simple centralized configuration of a program.
it.andynaz.log - package it.andynaz.log
Classes to do simple logging.
it.andynaz.utils - package it.andynaz.utils
Methods of undoubted utility.

L

Level - Enum in it.andynaz.log
Levels for logs.
Level(int, String) - Constructor for enum it.andynaz.log.Level
 
level - Variable in enum it.andynaz.log.Level
Numeric value of the level.
level - Variable in class it.andynaz.log.Logger
Indicates the level of the logging.
list() - Static method in class it.andynaz.config.ConfigMgr
List all the parameters currently stored.
list() - Method in class it.andynaz.log.Config
Deprecated.
List all the properties on the standard output.
log(String, Level) - Method in class it.andynaz.log.FileLogger
Writes the log.
log(Exception, Level) - Method in class it.andynaz.log.FileLogger
Writes the log of an exception with a specificied level.
log(String, Level) - Method in class it.andynaz.log.Logger
Writes a log with a specified level.
log(String) - Method in class it.andynaz.log.Logger
Writes a log.
log(Exception) - Method in class it.andynaz.log.Logger
Writes the log of an exception.
log(Exception, Level) - Method in class it.andynaz.log.Logger
Writes the log of an exception with a specificied level.
logFile - Variable in class it.andynaz.log.FileLogger
File in which write the logs.
Logger - Class in it.andynaz.log
Base logger.
Logger(String, Config) - Constructor for class it.andynaz.log.Logger
Deprecated.
Use Logger.Logger(String, Properties) instead; this method will be removed in future release.
Logger(String, Properties) - Constructor for class it.andynaz.log.Logger
Creates a Logger with a name and a specified configuration.
Logger(String) - Constructor for class it.andynaz.log.Logger
Creates a logger with a name.
Logger(Config) - Constructor for class it.andynaz.log.Logger
Deprecated.
Use Logger.Logger(Properties) instead; this method will be removed in future release.
Logger(Properties) - Constructor for class it.andynaz.log.Logger
Creates a logger with a configuration.
Logger() - Constructor for class it.andynaz.log.Logger
Creates a logger.
LoggerMgr - Class in it.andynaz.log
This class let you create a "default" logger.
LoggerMgr() - Constructor for class it.andynaz.log.LoggerMgr
 

M

mv(File, File) - Static method in class it.andynaz.utils.UtilsIO
Moves a file.

N

name - Variable in class it.andynaz.log.Logger
Name of the logger.

P

p - Static variable in class it.andynaz.config.ConfigMgr
 
pad(String, String, int) - Static method in class it.andynaz.utils.Utils
Pad the string s on the left with the pattern p, till the length of (at least) l.
parseInt(String) - Static method in class it.andynaz.utils.Utils
Get an Integer from a string.
parseLong(String) - Static method in class it.andynaz.utils.Utils
Get a Long from a string.
prefix - Static variable in class it.andynaz.config.ConfigMgr
 
print(InputStream) - Static method in class it.andynaz.utils.Utils
Write the content in the input stream.
printException(String, Throwable) - Static method in class it.andynaz.utils.Utils
Write the log of an exception/error on the standard output, preceed by a custom message.
printHeader() - Static method in class it.andynaz.utils.Utils
Print a program header.
printHelp() - Static method in class it.andynaz.utils.Utils
Print a program help.
props - Variable in class it.andynaz.log.Config
Deprecated.
 

R

readFromFile(File) - Static method in class it.andynaz.utils.UtilsIO
Reads the content of a text file.
readTag(File, String) - Static method in class it.andynaz.utils.UtilsXML
Deprecated.
Read the content of a tag from an XML file.
readTag(String, String) - Static method in class it.andynaz.utils.UtilsXML
Deprecated.
Read the content of a tag from an XML file.
removeConfigParam(String) - Static method in class it.andynaz.config.ConfigMgr
Remove a parameter value.
replaceTag(File, String, String) - Static method in class it.andynaz.utils.UtilsXML
Deprecated.
Replace the content of a tag.
replaceTag(String, String, String) - Static method in class it.andynaz.utils.UtilsXML
Deprecated.
Replace the content of a tag.

S

separator - Variable in class it.andynaz.log.Logger
Indicates the separator to use in the prefix of the logs.
setConfigParam(String, String) - Static method in class it.andynaz.config.ConfigMgr
Set a parameter value.

U

useDate - Variable in class it.andynaz.log.Logger
Indicates if the date has to be used in the prefix of the log.
useLevel - Variable in class it.andynaz.log.Logger
Indicates if the level code has to be used in the prefix of the log.
Utils - Class in it.andynaz.utils
Generic useful methods.
Utils() - Constructor for class it.andynaz.utils.Utils
 
UtilsIO - Class in it.andynaz.utils
Useful methods for an elementary file management.
UtilsIO() - Constructor for class it.andynaz.utils.UtilsIO
 
UtilsWEB - Class in it.andynaz.utils
Useful methods for web applications.
UtilsWEB() - Constructor for class it.andynaz.utils.UtilsWEB
 
UtilsXML - Class in it.andynaz.utils
Deprecated.
UtilsXML() - Constructor for class it.andynaz.utils.UtilsXML
Deprecated.
 
UtilsZIP - Class in it.andynaz.utils
Useful methods to manage compressed files.
UtilsZIP() - Constructor for class it.andynaz.utils.UtilsZIP
 

V

valueOf(String) - Static method in enum it.andynaz.log.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum it.andynaz.log.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToFile(File, String) - Static method in class it.andynaz.utils.UtilsIO
Writes a string in a text file.
C D F G H I L M N P R S U V W 
andyLib v0.8

© 2013 andynaz - http://andynaz.altervista.org