C D F G H I L M N P R S U V W

C

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.
Config - Class in it.andynaz.log
Configuration of a Logger.
Config(Properties) - Constructor for class it.andynaz.log.Config
Creates a new configuration.
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
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
Creates a FileLogger with a configuration.
FileLogger(File) - 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
Returns the shared configuration.
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
Returnes a "default" logger without a name.
getLogger(String) - Static method in class it.andynaz.log.LoggerMgr
Returnes a "default" logger with a name.
getPrefix() - 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
Get a property value.

H

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

I

init(Properties) - Static method in class it.andynaz.log.Config
Inizialize the shared configuration with a Properties object.
init(String) - Static method in class it.andynaz.log.Config
Inizialize the shared configuration with a file of properties.
init() - Static method in class it.andynaz.log.Config
Inizialize the shared configuration.
isEmpty(String) - Static method in class it.andynaz.utils.Utils
Check if a string is empty.
it.andynaz.log - package it.andynaz.log
Contains 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 (and configurations).
level - Variable in class it.andynaz.log.Logger
Indicates the level of the logging.
list() - Method in class it.andynaz.log.Config
List all the properties on the standard output.
log(String, Level) - Method in class it.andynaz.log.FileLogger
Writes the log.
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
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
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.

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

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.
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.

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
Read the content of a tag from an XML file.
readTag(String, String) - Static method in class it.andynaz.utils.UtilsXML
Read the content of a tag from an XML file.
replaceTag(File, String, String) - Static method in class it.andynaz.utils.UtilsXML
Replace the content of a tag.
replaceTag(String, String, String) - Static method in class it.andynaz.utils.UtilsXML
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.

U

Utils - Class in it.andynaz.utils
Generic useful methods.
UtilsIO - Class in it.andynaz.utils
Useful methods for an elementary file management.
UtilsWEB - Class in it.andynaz.utils
Useful methods for web applications.
UtilsXML - Class in it.andynaz.utils
Useful methods for an elementary management of XML files.
UtilsZIP - Class in it.andynaz.utils
Useful methods to manage compressed files.

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

withDate - Variable in class it.andynaz.log.Logger
Indicates if the date has to be used in the prefix of the log.
withLevel - Variable in class it.andynaz.log.Logger
Indicates if the level code has to be used in the profix of the log.
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

(c) 2013 andynaz - http://andynaz.altervista.org