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

G

garbageCollect() - Method in class com.marringtons.util.TestCase
When testing it is sometimes necessary to garbage collect
garbageCollectionError(String) - Static method in class com.marringtons.util.Application
Any class that retains resources other than memory has a finalize() method that makes sure the resource was freed before the memory is to be reclaimed.
garbageCollectionErrors - Static variable in class com.marringtons.util.Application
Set true by any routine that implements finalize() and finds that garbage collection has occurred on an object that still holds resources.
get(String) - Static method in class com.marringtons.file.Path
Retrieve the path from a path/name string.
get() - Method in class com.marringtons.net.HTTP.Client
Set up client to receive from server without first sending anything.
get(String) - Method in class com.marringtons.net.HTTP.Client
Send a Get request to the server - synchronous.
get(String) - Method in class com.marringtons.net.HTTP.Header
Get a header entry - and an empty string if it doesn't exist.
get(String, String) - Method in class com.marringtons.net.HTTP.Header
Get a header entry - and a specified default value if it doesn't exist.
get(Object) - Method in class com.marringtons.number.IntegerMap
Retrieve an integer value for an Object key (normally a string).
get(int) - Method in class com.marringtons.number.IntegerMap
Retrieve an integer value for an integer key.
get(int) - Method in class com.marringtons.object.DAO
Get the record from the cache if available, otherwise from the database.
get(String) - Static method in class com.marringtons.object.Database
retrieve the database for a known file from the cache.
get(String, boolean) - Static method in class com.marringtons.object.Database
Let the DAO system know of databases that will be used by the program.
get(String) - Method in class com.marringtons.string.Messages
Retrieve all messages for a specific key appended and separated by line-feeds.
get() - Method in class com.marringtons.string.Messages
Retrieve all messages associated with the general key (*).
get(String) - Method in class com.marringtons.string.Properties
Method get - retrieve a string property.
get(String, String) - Method in class com.marringtons.string.Properties
retrieve a string property, with default.
get(String, String[]) - Method in class com.marringtons.string.Properties
Retrieve a comma separated array of strings.
get(String, int[]) - Method in class com.marringtons.string.Properties
Retrieve a comma separated array of integers.
get(String, Set) - Method in class com.marringtons.string.Properties
Retrieve a comma separated array of strings.
get(String, int) - Method in class com.marringtons.string.Properties
retrieve an integer property, with default.
get(String, long) - Method in class com.marringtons.string.Properties
retrieve an integer property, with default.
get(String, boolean) - Method in class com.marringtons.string.Properties
retrieve a boolean property, with default.
get() - Method in class com.marringtons.util.Cache
Retrieve the most used item from the cache (pooling).
get(Object) - Method in class com.marringtons.util.Cache
Retrieve an object from the cache.
get(Session.Key) - Method in class com.marringtons.util.Session
Retrieve a session data object.
get(Session.Key, Object) - Method in class com.marringtons.util.Session
Retrieve a value from the session.
get(Object, Class) - Static method in class com.marringtons.util.ThreadData
Retrieve application data associated with this thread, creating a new one if it does not exist.
get(Object) - Static method in class com.marringtons.util.ThreadData
Retrieve data associated with this thread - if it has been set.
get(Class) - Static method in class com.marringtons.util.ThreadData
Retrieve data associated with this thread for single class instance per thread using the class name as a key.
get(String) - Method in class com.marringtons.xml.XMLtoMap
Retrieve a Node entry given a path separated by dots map = new XMLtoMap( new StringReader( sampleXML)); Node node = map.get( "OuterElement.InnerElement"); check( node.name.equals( "InnerElement"));
getAll() - Static method in class com.marringtons.file.Path
retrieve data paths in ascending order of importance.
getArguments() - Method in class com.marringtons.net.HTTP.Request
Return the query string with special characters processed and split into arguments.
getBases(String) - Static method in class com.marringtons.file.Path
Return a list of base paths for a directory or zip/jar on the datapath.
getClassName() - Method in class com.marringtons.file.FileReader
Assuming that the file is actually a Java class file, extract the class name from the file name.
getCookie(String) - Method in class com.marringtons.net.HTTP.Request
Get a cookie from the request.
getCurrentRecord() - Method in class com.marringtons.object.DAO
External access to current record is via a getter so that if a new DAO has been created it is committed to disk to provide a current record for use elsewhere.
getFile() - Method in class com.marringtons.file.FileReader
Retrieve a pointer to the underlying file.
getFile(String) - Static method in class com.marringtons.file.Output
Return a file object for an output file.
getHeader() - Method in class com.marringtons.net.HTTP.Client
Retrieve the header from the last get or post command.
getHeader() - Method in class com.marringtons.net.HTTP.Request
Retrieve a pointer to the header sent with this request.
getHeader(String) - Method in class com.marringtons.net.HTTP.Request
Retrieve an item from the HTTP header that came as part of the request.
getHeader(String, String) - Method in class com.marringtons.net.HTTP.Request
Retrieve an item from the HTTP header that came as part of the request - with a default if the item does not exist.
getHost(String) - Static method in class com.marringtons.net.HTTP.URL
Given a URL (with or without the http:// or other protocol), extract the host name and port.
getInputStream() - Method in class com.marringtons.file.FileReader
Retrieve a pointer to the underlying input stream.
getInstance(Object, ClassDirectory.Entry) - Static method in class com.marringtons.object.Formatter
Get an instance of a formatter - from the class being translated or the default if no others exist.
getInstance(Object, ClassDirectory.Entry) - Static method in class com.marringtons.object.Translator
Get an instance of a translator - from the class being translated or the default if no others exist.
getInstance() - Static method in class com.marringtons.string.Messages
Retrieve a message instance that is not tied to any data persister.
getList(String) - Method in class com.marringtons.string.Properties
Properties with the same key are maintained in a list.
getMethod() - Method in class com.marringtons.net.HTTP.Request
Get the method set in the header - usually GET or POST.
getName(File) - Static method in class com.marringtons.file.Files
Given a File object return it's absolute path.
getParameter(String) - Method in class com.marringtons.net.HTTP.Request
Return the value for a single key.
getParameter(String, String) - Method in class com.marringtons.net.HTTP.Request
Return the value for a single key.
getParameterList(String) - Method in class com.marringtons.net.HTTP.Request
Return the values for a single key.
getParameters() - Method in class com.marringtons.net.HTTP.Request
Divide up the arguments into key/value pairs (name=value&name=value).
getProgramStartTime() - Static method in class com.marringtons.time.Date
Get the program start time in milliseconds since 1970.
getProtocol() - Method in class com.marringtons.net.HTTP.Request
The protocol os HTTP/1.1 or HTTP/1.0.
getQueryString() - Method in class com.marringtons.net.HTTP.Request
Retrieve the query string in raw form (with & between name=value pairs).
getReader() - Method in class com.marringtons.file.FileReader
Buffered reader used internally or externally when more sophisticated reading is required.
getReader() - Method in class com.marringtons.net.ClientSocket
Return the reader so that programs that want to get data directly can do so (i.e.
getReferer() - Method in class com.marringtons.net.HTTP.Request
Return the page that referred this page.
getSessionInstance() - Static method in class com.marringtons.string.Messages
 
getTerm(Date) - Method in class com.marringtons.time.Date
Calculate the difference between 2 days and return it as a term in years, months and days.
getThreadInstance() - Static method in class com.marringtons.string.Messages
 
getType(String) - Static method in class com.marringtons.file.Files
Get the file type by file extension.
getURL() - Method in class com.marringtons.net.HTTP.Request
The URL retrieved is relative to the server root.
getWriter() - Method in class com.marringtons.file.ZipOutputStream
A ZipOutputStream by itself is fairly useless.
globalScope(String, Class, Session.Lifetime) - Static method in class com.marringtons.util.Session
Retrieve key for package scope data - to be kept in private static final in using class.
greatestCommonDenominator(long, long) - Static method in class com.marringtons.number.Fraction
 

A B C D E F G H I J K L M N O P R S T U V W X Y Z _
Copyright © 2005 Paul Marrington http://library.marringtons.com