A C D E F G H I J K L M N O P R S T U V W Z

A

accept(String, String) - Method in class com.gridsystems.utils.WildcardsFileFilter
Tests if a specified file should be included in a file list.
accept(File, String) - Method in class com.gridsystems.utils.WildcardsFileFilter
addCertificatesToKeyStore(String, KeyStore, char[], X509Certificate[]) - Static method in class com.gridsystems.utils.KeyStoreUtils
Add Certificates to KeyStore.
AIX_POWERPC - Static variable in class com.gridsystems.utils.SystemUtils
AIX PowerPC.
alias(String, Object...) - Static method in class com.gridsystems.utils.NativeShell
Gets a platform dependent alias for the specified command.
applyEOL(String, int) - Static method in class com.gridsystems.utils.text.EOLUtils
Applies a scheme of EOL to the source.
applyEOL(File, int) - Static method in class com.gridsystems.utils.text.EOLUtils
Applies a scheme of EOL to the source text file.
areFreePorts(int[]) - Static method in class com.gridsystems.utils.NetUtils
Check if a list of ports are free.
AWTUtils - Class in com.gridsystems.utils
General Utilities.

C

centerWindow(Window) - Static method in class com.gridsystems.utils.AWTUtils
Deprecated. Use "Window.setLocationRelativeTo()" method instead
checkJavaHome() - Static method in class com.gridsystems.utils.JavaVersion
Convenience method for verifying JAVA_HOME environment variable.
checkJavaVersion(String) - Static method in class com.gridsystems.utils.JavaVersion
Convenience method for verifying Java runtime version.
checkPort(int) - Static method in class com.gridsystems.utils.NetUtils
Checks whether a port is available for opening.
chmod(String, File, boolean) - Static method in class com.gridsystems.utils.FileUtils
Equivalent to Unix chmod command.
ClassDiscovery - Class in com.gridsystems.utils
Utility class to discover classes inside directories or jar files.
ClassFinder - Class in com.gridsystems.utils
Type description.
ClassFinder(Class<?>) - Constructor for class com.gridsystems.utils.ClassFinder
Creates a new instance.
close(Object) - Static method in class com.gridsystems.utils.FileUtils
Closes any object having a close() method without exceptions.
com.gridsystems.gridexception - package com.gridsystems.gridexception
 
com.gridsystems.utils - package com.gridsystems.utils
 
com.gridsystems.utils.text - package com.gridsystems.utils.text
 
commit() - Method in class com.gridsystems.utils.FileProperties
Propagates changes in memory to the file associated with this object.
commit() - Method in class com.gridsystems.utils.SecureFileProperties
Propagates changes in memory to the file associated with this object.
commit() - Method in class com.gridsystems.utils.SortedFileProperties
Propagates changes in memory to the file associated with this object.
compareTo(Version) - Method in class com.gridsystems.utils.Version
Compares this object to another JavaVersion.
ComposedFormat - Class in com.gridsystems.utils.text
Format implementation that performs a "chained" format over the passed object.
ComposedFormat(Format...) - Constructor for class com.gridsystems.utils.text.ComposedFormat
Creates an instance with the specified array of internal formatters.
copy(File, File) - Static method in class com.gridsystems.utils.FileUtils
Copy a file from ffrom to fto.
copyDir(File, File) - Static method in class com.gridsystems.utils.FileUtils
Copia el contenido del directorio src_dir dentro del directorio dst_dir Si dst_dir no existe entonces lo crea.
copyDirNative(File, File) - Static method in class com.gridsystems.utils.FileUtils
Recursively copies the contents of srcDir into dstDir using external native commands.
copyNative(File, File) - Static method in class com.gridsystems.utils.FileUtils
Copies the file src_file into dst_file using native (O.S.) calls.
copyStream(OutputStream, InputStream) - Static method in class com.gridsystems.utils.FileUtils
Copies a stream into another.
create() - Static method in class com.gridsystems.utils.ObjectTransformerCreator
Creation of a configured ObjectTransformer object.
createEmptyKeyStore(char[]) - Static method in class com.gridsystems.utils.KeyStoreUtils
Create empty KeyStore.
createFile(InputStream, File) - Static method in class com.gridsystems.utils.FileUtils
Copies the content of the input stream srcIn into the file dstFile.
createInstances() - Method in class com.gridsystems.utils.ClassFinder
Gets an array of instances of all discovered classes, that can be instantiated using a default unary constructor.

D

detectEOL(String) - Static method in class com.gridsystems.utils.text.EOLUtils
Detects what kind of EOL is present in the source String.
detectEOL(File) - Static method in class com.gridsystems.utils.text.EOLUtils
Detects what kind of EOL is present in the source text file.
doAlias(String, String, Object...) - Static method in class com.gridsystems.utils.NativeShell
Gets a platform dependent alias for the specified command.
doExec(String, String, Object...) - Method in class com.gridsystems.utils.NativeShell
Executes a native application.
DOS - Static variable in class com.gridsystems.utils.text.EOLUtils
DOS scheme.
doShell(String, String, Object...) - Static method in class com.gridsystems.utils.NativeShell
Gets an array to be used for executing the given command in a platform dependent shell.

E

EOLUtils - Class in com.gridsystems.utils.text
End-Of-Line Management Utilities.
equals(Object) - Method in class com.gridsystems.utils.Version
exec(String, Object...) - Method in class com.gridsystems.utils.NativeShell
Executes a native application.
execAndSaveOutput(String, String[], File, OutputStream) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command and saves its output into a file.
execAndSaveOutput(String[], String[], File, OutputStream) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command and saves its output into a file.
execAndSaveOutput(String[], String[], File, File) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command and saves its output into a file.
execAndSaveOutput(String, String[], File, File) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command and saves its output into a file.
execPiped(String, String[], File) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command piping its input and output with System.out and System.in.
execPiped(String[], String[], File) - Static method in class com.gridsystems.utils.SystemUtils
Executes the given command piping its input and output with System.out and System.in.
existDisplay() - Static method in class com.gridsystems.utils.AWTUtils
Check if display exists, in UNIX systems.
extractDynamicLibrary(String, Class<?>) - Static method in class com.gridsystems.utils.JNIUtils
Extracts a Dynamic library of a jar file and load into memory.
extractDynamicLibrary(String, String) - Static method in class com.gridsystems.utils.JNIUtils
Extracts a Dynamic library of a jar file and loads it into memory.
extractDynamicLibrary(String, Class<?>) - Static method in class com.gridsystems.utils.SystemUtils
Deprecated. Use JNIUtils.extractDynamicLibrary method.
extractDynamicLibrary(String, String) - Static method in class com.gridsystems.utils.SystemUtils
Deprecated. Use JNIUtils.extractDynamicLibrary method.

F

f - Variable in class com.gridsystems.utils.FileProperties
The source file for the property data.
FileProperties - Class in com.gridsystems.utils
This class implements a Properties object linked to a File object.
FileProperties(File, Properties) - Constructor for class com.gridsystems.utils.FileProperties
Creates a file linked Properties object, with the specified default values.
FileProperties(File) - Constructor for class com.gridsystems.utils.FileProperties
Create a file linked Properties object.
fileToStream(File, OutputStream) - Static method in class com.gridsystems.utils.FileUtils
Writes the contents of a file to an stream.
FileUtils - Class in com.gridsystems.utils
General File Utilities.
FileUtils.UnzipListener - Interface in com.gridsystems.utils
Listener used to show information of unzipping process.
findClasses(String) - Method in class com.gridsystems.utils.ClassFinder
Gets the list of classes discovered through resource discovery.
findInJars(String, String, String, Class<?>) - Static method in class com.gridsystems.utils.ClassDiscovery
Finds a list of classes in the jars located in a given directory.
format(Object, StringBuffer, FieldPosition) - Method in class com.gridsystems.utils.text.ComposedFormat
Formats an object and appends the resulting text to a given string buffer.
format(Object, StringBuffer, FieldPosition) - Method in class com.gridsystems.utils.text.MaxWidthFormat
Tag Format adjust tags to the selected length.
FOUR_KB_IN_BYTES - Static variable in class com.gridsystems.utils.FileUtils
Four KB in bytes.

G

getAllCommands() - Static method in class com.gridsystems.utils.NativeShell
Gets a list of all commands this instance is aware of.
getAllIPs() - Static method in class com.gridsystems.utils.NetUtils
 
getAvailableCommands() - Static method in class com.gridsystems.utils.NativeShell
Gets a list of all commands available in this platform.
getBoolProperty(String) - Method in class com.gridsystems.utils.FileProperties
Gets a property as a boolean value.
getCertificatesFromServer(String, int) - Static method in class com.gridsystems.utils.KeyStoreUtils
Gets certificates from server.
getCharacterSizeCount(char) - Static method in class com.gridsystems.utils.text.MaxWidthFormat
Tells how much space uses a character in an HTML page.
getClasses() - Method in class com.gridsystems.utils.ClassFinder
Gets an array of all discovered classes.
getCode() - Method in exception com.gridsystems.gridexception.GridException
 
getCurrentVersion() - Static method in class com.gridsystems.utils.JavaVersion
Gets the JavaVersion object associated with the current version of JRE.
getDirectory() - Method in class com.gridsystems.utils.NativeShell
Gets the working directory.
getDirectorySize(File, FileFilter) - Static method in class com.gridsystems.utils.FileUtils
Finds out the size of all files within the specified directory, including subdirectories.
getDoubleRepresentation(String) - Static method in class com.gridsystems.utils.Version
Deprecated. For comparisons, use #compare(Object)
getEntry(String) - Static method in class com.gridsystems.utils.SystemUtils
Gets a GridSystems platform for the specified properties.
getEnv() - Method in class com.gridsystems.utils.NativeShell
Gets the shell environment.
getEnvironment() - Static method in class com.gridsystems.utils.SystemUtils
Retrieves the environment variables list from the system.
getIntProperty(String, int) - Method in class com.gridsystems.utils.FileProperties
Generic property access method for integer properties.
getIntProperty(String) - Method in class com.gridsystems.utils.FileProperties
Gets a property as an int value.
getJavaHome() - Static method in class com.gridsystems.utils.JavaVersion
Gets the the value that the JAVA_HOME variable must have.
getLongProperty(String) - Method in class com.gridsystems.utils.FileProperties
Gets a property as a long value.
getLongProperty(String, long) - Method in class com.gridsystems.utils.FileProperties
Gets a property as a long value.
getMachineIP() - Static method in class com.gridsystems.utils.NetUtils
 
getMajorVersion() - Method in class com.gridsystems.utils.Version
Deprecated. Use #getValue(int) instead.
getMessage() - Method in exception com.gridsystems.gridexception.GridException
 
getMinorVersion() - Method in class com.gridsystems.utils.Version
Deprecated. Use #getValue(int) instead.
getNativePrefixPostfix(String) - Static method in class com.gridsystems.utils.JNIUtils
Return prefix and postfix of the dinamic libraries name in the operating system 'os'.
getOsName() - Static method in class com.gridsystems.utils.SystemUtils
Gets the gridSystems platform name of this machine.
getOsName(String, String) - Static method in class com.gridsystems.utils.SystemUtils
Gets the GridSystems platform name for a machine with the passed properties.
getOSVersion() - Static method in class com.gridsystems.utils.SystemUtils
 
getParams() - Method in exception com.gridsystems.gridexception.GridException
 
getProperty(String, String) - Method in class com.gridsystems.utils.FileProperties
Searches for the property with the specified key in this property list.
getProperty(String) - Method in class com.gridsystems.utils.FileProperties
Searches for the property with the specified key in this property list.
getRelease() - Method in class com.gridsystems.utils.Version
Deprecated. Use #getValue(int) instead.
getSimpleArchName() - Static method in class com.gridsystems.utils.SystemUtils
Gets the local architecture name.
getSimpleOsName() - Static method in class com.gridsystems.utils.SystemUtils
Gets the local OS name without the CPU architecture.
getSimpleOsName(String) - Static method in class com.gridsystems.utils.SystemUtils
Extracts the simple OS name from the specified platform id.
getSize() - Method in class com.gridsystems.utils.Version
Get the size (number of elements) of the version.
getStringRepresentation(double, int) - Static method in class com.gridsystems.utils.Version
Deprecated. Use #toString()
getStringRepresentation(double) - Static method in class com.gridsystems.utils.Version
Deprecated. Use #toString()
getTempDir() - Static method in class com.gridsystems.utils.SystemUtils
 
getValue(int) - Method in class com.gridsystems.utils.Version
Gets a slice of the version numbers.
GridException - Exception in com.gridsystems.gridexception
Title: GridException.
GridException(String, String[]) - Constructor for exception com.gridsystems.gridexception.GridException
Constructor.
GridException(String) - Constructor for exception com.gridsystems.gridexception.GridException
Constructor.

H

hashCode() - Method in class com.gridsystems.utils.Version
header - Variable in class com.gridsystems.utils.FileProperties
The header to set when writing the file.
HPUX_IA64 - Static variable in class com.gridsystems.utils.SystemUtils
HPUX IA64.
HPUX_PA - Static variable in class com.gridsystems.utils.SystemUtils
HPUX PARISC.

I

I18n - Class in com.gridsystems.utils
Internationalisation for the com.gridsystems.utils package.
isJdkRunning() - Static method in class com.gridsystems.utils.JavaVersion
Checks if the value from getJavaHome() points to a JRE or JDK.
isUnix() - Static method in class com.gridsystems.utils.SystemUtils
Return true if this OS is not windows.
isWindows() - Static method in class com.gridsystems.utils.SystemUtils
Return true if this OS is windows.

J

JavaVersion - Class in com.gridsystems.utils
Class used to store and manage the versions of the JRE.
JavaVersion(String) - Constructor for class com.gridsystems.utils.JavaVersion
Constructor.
JNIUtils - Class in com.gridsystems.utils
Utility methods for JNI.

K

KeyStoreUtils - Class in com.gridsystems.utils
KeyStore Utilities.

L

LangUtils - Class in com.gridsystems.utils
General Language Utilities.
lastModified - Variable in class com.gridsystems.utils.FileProperties
The last known modification time of the file.
LINUX_AMD64 - Static variable in class com.gridsystems.utils.SystemUtils
Linux AMD64.
LINUX_I686 - Static variable in class com.gridsystems.utils.SystemUtils
Linux i686.
LINUX_IA64 - Static variable in class com.gridsystems.utils.SystemUtils
Linux IA64.
load(InputStream) - Method in class com.gridsystems.utils.SecureFileProperties
loadKeyStoreFromFile(File, char[]) - Static method in class com.gridsystems.utils.KeyStoreUtils
Load KeyStore from File.
loadPropertiesFromFile(File) - Static method in class com.gridsystems.utils.FileUtils
Read properties from a file.
lockWrite - Variable in class com.gridsystems.utils.FileProperties
A flag indicating if a setProperty should invoke commit.
lockWrites() - Method in class com.gridsystems.utils.FileProperties
It locks commits.

M

MAC - Static variable in class com.gridsystems.utils.text.EOLUtils
Mac scheme.
MACOSX_I386 - Static variable in class com.gridsystems.utils.SystemUtils
MacOSX Intel.
MACOSX_POWERPC - Static variable in class com.gridsystems.utils.SystemUtils
MacOSX PowerPC.
main(String[]) - Static method in class com.gridsystems.utils.KeyStoreUtils
Main method.
main(String[]) - Static method in class com.gridsystems.utils.NetUtils
Utility application.
MaxWidthFormat - Class in com.gridsystems.utils.text
Title: General Utilities.
MaxWidthFormat(int, String, String) - Constructor for class com.gridsystems.utils.text.MaxWidthFormat
Creates an instance with the specified MaxWidthFormat.
mergeProperties(Properties, Properties) - Static method in class com.gridsystems.utils.FileUtils
Merge 2 properties into one.
move(File, File) - Static method in class com.gridsystems.utils.FileUtils
Moves the contents of srcFile into dstFile.
moveNative(File, File) - Static method in class com.gridsystems.utils.FileUtils
Moves a source file to a destination by calling a native command.
mustShort(String, int) - Static method in class com.gridsystems.utils.text.MaxWidthFormat
Returns the index we have to cut the text.

N

NativeShell - Class in com.gridsystems.utils
Cross-Platform command execution manager.
NativeShell() - Constructor for class com.gridsystems.utils.NativeShell
Creates an instance.
NetUtils - Class in com.gridsystems.utils
Network utilities.

O

ObjectTransformerCreator - Class in com.gridsystems.utils
 
ONE_KB_IN_BYTES - Static variable in class com.gridsystems.utils.FileUtils
Oner KB in bytes.

P

parseObject(String, ParsePosition) - Method in class com.gridsystems.utils.text.ComposedFormat
Not implemented.
parseObject(String, ParsePosition) - Method in class com.gridsystems.utils.text.MaxWidthFormat
Function not implemented.
propertyNames() - Method in class com.gridsystems.utils.FileProperties
Returns an enumeration of all the keys in this property list, including the keys in the default property list.

R

readListFile(File) - Static method in class com.gridsystems.utils.FileUtils
Reads a text file containing a string item by line, and returns an array containing those lines not beginning by a '#' character.
readText(File) - Static method in class com.gridsystems.utils.FileUtils
Reads the content of the text file and returns it as a String.
removeCertificateFromKeyStore(KeyStore, String) - Static method in class com.gridsystems.utils.KeyStoreUtils
Delete Certificate (using alias) from KeyStore.
replaceAll(String, String, String) - Static method in class com.gridsystems.utils.LangUtils
Deprecated. Use String.replaceAll(String, String) instead
rmtree(File) - Static method in class com.gridsystems.utils.FileUtils
If f is a file then deletes it; if it is a directory then deletes its files and subdirectories, and after that, tries to delete it.
rmtreeNative(File) - Static method in class com.gridsystems.utils.FileUtils
If parameter file is a file then delete this file.

S

saveKeyStoreToFile(File, KeyStore, char[]) - Static method in class com.gridsystems.utils.KeyStoreUtils
Save KeyStore to File.
savePropertiesToFile(File, Properties, String) - Static method in class com.gridsystems.utils.FileUtils
Stores properties to a file.
SCHEMENAMES - Static variable in class com.gridsystems.utils.text.EOLUtils
String constants with the names of the different EOL schemes, indexed using the above constants.
SecureFileProperties - Class in com.gridsystems.utils
This class implements a SecureProperties object linked to a File object.
SecureFileProperties(File, Properties) - Constructor for class com.gridsystems.utils.SecureFileProperties
Creates a new instance.
SecureFileProperties(File) - Constructor for class com.gridsystems.utils.SecureFileProperties
Creates a new instance.
serverIsLocal(String) - Static method in class com.gridsystems.utils.NetUtils
Helper method to know if certain server ip or server name is our machine or not.
setConfigFile(File) - Static method in class com.gridsystems.utils.NativeShell
Sets the command alias configuration file.
setDirectory(File) - Method in class com.gridsystems.utils.NativeShell
Sets the working directory.
setFile(File) - Method in class com.gridsystems.utils.FileProperties
Sets the file associated to this instance.
setHeader(String) - Method in class com.gridsystems.utils.FileProperties
Sets the text of the header that will be written to the file.
setProperty(String, String) - Method in class com.gridsystems.utils.FileProperties
Calls the hashtable method put.
setStdErr(File) - Method in class com.gridsystems.utils.NativeShell
Redirects the standard error to a file.
setStdErr(OutputStream) - Method in class com.gridsystems.utils.NativeShell
Redirects the standard error to a stream.
setStdOut(File) - Method in class com.gridsystems.utils.NativeShell
Redirects the standard output to a file.
setStdOut(OutputStream) - Method in class com.gridsystems.utils.NativeShell
Redirects the standard output to a stream.
setZipSize(int) - Method in interface com.gridsystems.utils.FileUtils.UnzipListener
Puts the number of files inside zip file.
shell(String, Object...) - Static method in class com.gridsystems.utils.NativeShell
Gets an array to be used for executing the given command in a platform dependent shell.
SortedFileProperties - Class in com.gridsystems.utils
This class implements a SecureProperties object linked to a File object.
SortedFileProperties(File, Properties) - Constructor for class com.gridsystems.utils.SortedFileProperties
Creates a new instance.
SortedFileProperties(File) - Constructor for class com.gridsystems.utils.SortedFileProperties
Creates a new instance.
store(OutputStream, String) - Method in class com.gridsystems.utils.SortedFileProperties
SUNOS_I386 - Static variable in class com.gridsystems.utils.SystemUtils
SunOS i386.
SUNOS_SPARC - Static variable in class com.gridsystems.utils.SystemUtils
SunOS sparc.
sync() - Method in class com.gridsystems.utils.FileProperties
If associated file is older than current version, updates the properties from the file.
synchronize - Static variable in class com.gridsystems.utils.FileProperties
This value controls the access synchronised to the security files.
SystemUtils - Class in com.gridsystems.utils
General Utilities for several modules.

T

THIRTY_TWO_KB_IN_BYTES - Static variable in class com.gridsystems.utils.FileUtils
Four KB in bytes.
timeFormat(long) - Static method in class com.gridsystems.utils.LangUtils
Deprecated. Use Formatter instead
toString() - Method in exception com.gridsystems.gridexception.GridException
Converts the exception to a string.
toString() - Method in class com.gridsystems.utils.Version
Returns a String representation of this object.
toString() - Method in class com.gridsystems.utils.WildcardsFileFilter
translate(String, String...) - Static method in class com.gridsystems.utils.I18n
Gets the translation of a message merging it with its parameters.
ts - Variable in class com.gridsystems.utils.FileProperties
Last update time.
twoDigits(String) - Static method in class com.gridsystems.utils.LangUtils
Deprecated. Use Formatter instead

U

UNDEFINED - Static variable in class com.gridsystems.utils.text.EOLUtils
Undefined scheme.
UNIX - Static variable in class com.gridsystems.utils.text.EOLUtils
Unix scheme.
unlockWrites() - Method in class com.gridsystems.utils.FileProperties
It unlocks commits and commits the last changes.
unzip(File, File, boolean) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified file into the specified directory.
unzip(File, File, FileUtils.UnzipListener) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified file into the specified directory.
unzip(File, File, FileFilter) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified file into the specified directory filtering by filter.
unzip(File, File, boolean, FileUtils.UnzipListener) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified file into the specified directory.
unzip(File, File, boolean, FileUtils.UnzipListener, FileFilter) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified file into the specified directory.
unzip(InputStream, File) - Static method in class com.gridsystems.utils.FileUtils
Uncompresses the specified stream into the specified directory.
unzipingFile(String) - Method in interface com.gridsystems.utils.FileUtils.UnzipListener
Notifies that file is unzipping in this moment.

V

Version - Class in com.gridsystems.utils
General Utilities.
Version(String) - Constructor for class com.gridsystems.utils.Version
Constructor.
Version(int...) - Constructor for class com.gridsystems.utils.Version
Creates an instance.

W

WildcardsFileFilter - Class in com.gridsystems.utils
File filter using wildcards (* and ?).
WildcardsFileFilter(String) - Constructor for class com.gridsystems.utils.WildcardsFileFilter
Constructor.
WINDOWS_IA64 - Static variable in class com.gridsystems.utils.SystemUtils
Windows IA64.
WINDOWS_X86 - Static variable in class com.gridsystems.utils.SystemUtils
Windows x86.
writeText(File, String) - Static method in class com.gridsystems.utils.FileUtils
Writes text into a file.

Z

zip(File, File, FileFilter) - Static method in class com.gridsystems.utils.FileUtils
Crea un archivo zip del contenido de la raiz de cierto directorio.
zip(File, File, File, FileFilter) - Static method in class com.gridsystems.utils.FileUtils
Crea un archivo zip del contenido de la raiz de cierto directorio.

A C D E F G H I J K L M N O P R S T U V W Z

Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.