andyLib v0.9.1
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.
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, 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(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

getBuildDate() - Static method in class it.andynaz.utils.UtilsProgram
Returns the build date of the project.
getCode() - Method in enum it.andynaz.log.Level
Returns the code of this level.
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.
getFileExt(String) - Static method in class it.andynaz.utils.Utils
Get the file extension from a file name.
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(Level) - Method in class it.andynaz.log.Logger
Returns the prefix to be written before the log.
getUnsignedInt(byte) - Static method in class it.andynaz.utils.UtilsIO
Convert a byte in an unsigned int.
getVersion() - Static method in class it.andynaz.utils.UtilsProgram
Returns the version of the project.

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.
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.
loadVersionData() - Static method in class it.andynaz.utils.UtilsProgram
Reads the version data from the file.
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.
log(String, Level) - Method in class it.andynaz.log.NullLogger
Does nothing.
log(String) - Method in class it.andynaz.log.NullLogger
Does nothing.
log(Exception) - Method in class it.andynaz.log.NullLogger
Does nothing.
log(Exception, Level) - Method in class it.andynaz.log.NullLogger
Does nothing.
logFile - Variable in class it.andynaz.log.FileLogger
File in which write the logs.
Logger - Class in it.andynaz.log
Base logger.
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(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.
NullLogger - Class in it.andynaz.log
This logger does nothing.
NullLogger(ConfigMgr) - Constructor for class it.andynaz.log.NullLogger
Creates an instance.
NullLogger(String, ConfigMgr) - Constructor for class it.andynaz.log.NullLogger
Creates an instance with a name.

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.UtilsIO
Write the content of the input stream on the System.out.
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.UtilsProgram
Print a program header.
printHelp() - Static method in class it.andynaz.utils.UtilsProgram
Print a program help.

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.
removeFileExt(String) - Static method in class it.andynaz.utils.Utils
Remove the extension from a file name.
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
 
UtilsProgram - Class in it.andynaz.utils
Useful method to manage a program that uses the andyLib project.
UtilsProgram() - Constructor for class it.andynaz.utils.UtilsProgram
 
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.
versionData - Static variable in class it.andynaz.utils.UtilsProgram
Keeps informations about the program versions.

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

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