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 _

S

Search - class com.marringtons.object.Search.
Search is used to create a database search instance for finding persistent objects by their indexes.
Search(DAO, Search.Load, Search.Access) - Constructor for class com.marringtons.object.Search
Create a search object for retrieving specified objects from the database.
Search(Class, Search.Load, Search.Access) - Constructor for class com.marringtons.object.Search
Create a search object for retrieving specified objects from the database.
Search.Access - class com.marringtons.object.Search.Access.
Static fields in this class are used as part of Search initialisation to define whether data retrieved is only for perusal or whether it can be updated.
Search.Access() - Constructor for class com.marringtons.object.Search.Access
 
Search.Load - class com.marringtons.object.Search.Load.
Static fields in this class are used as part of Search initialisation to define whether loading from the search is to be lazy or eager.
Search.Load() - Constructor for class com.marringtons.object.Search.Load
 
Semaphore - class com.marringtons.util.Semaphore.
This is a simple object to use as a semaphore.
Semaphore() - Constructor for class com.marringtons.util.Semaphore
 
Session - class com.marringtons.util.Session.
Session provides support for saving and retrieving information related to one of many session where a session is common to a single client.
Session.Key - class com.marringtons.util.Session.Key.
Key is returned by Session factory methods to create a private static key to keep in calling classes to provide class, package or global scope session data.
Session.Key() - Constructor for class com.marringtons.util.Session.Key
 
Session.Lifetime - class com.marringtons.util.Session.Lifetime.
Lifetime provides typesafe definition of session lifetime, being this session only or persist to disk to load the next time the same client activates a session.
Session.PersistentData - class com.marringtons.util.Session.PersistentData.
This is DAO class used to persist session data to disk.
Session.PersistentData() - Constructor for class com.marringtons.util.Session.PersistentData
 
Session.PersistentData.index - class com.marringtons.util.Session.PersistentData.index.
A persistent Session is always indexed by session ID.
Session.PersistentData.index() - Constructor for class com.marringtons.util.Session.PersistentData.index
 
Stack - class com.marringtons.util.Stack.
A stack is a simple array where data is always pushed to and popped off the end.
Stack() - Constructor for class com.marringtons.util.Stack
 
StringStack - class com.marringtons.string.StringStack.
This class implement a stack with String keys and values.
StringStack() - Constructor for class com.marringtons.string.StringStack
 
Strings - class com.marringtons.string.Strings.
This is a class of String static helper methods providing String testing and manipulation methods.
sameHosts(String, String) - Static method in class com.marringtons.net.HTTP.URL
Given 2 URLs, compare and see if they come from the same host/port.
save(String) - Method in class com.marringtons.string.Properties
Save a changed configuration to disk.
second - Variable in class com.marringtons.time.Time
Second of minute (0-59)
seconds() - Method in class com.marringtons.time.Date
Return the time as the number of seconds since January 1 1970.
seconds(long) - Static method in class com.marringtons.time.Date
Get the time from the epoch - being the number of milliseconds since January 1 1970.
secondsElapsed() - Method in class com.marringtons.time.Timer
Stops timer if running and returns seconds elapsed since creation or last reset
secondsInDay - Static variable in class com.marringtons.time.Date
Number of milliseconds in a day (for other calculations).
send(Object) - Method in class com.marringtons.net.HTTP.Response
Send response so far to client - including more text provided.
send() - Method in class com.marringtons.net.HTTP.Response
Send response to client so that it will display.
sendFile(String, String) - Method in class com.marringtons.net.HTTP.Response
Complete the response by sending the contents of a file.
sendFile(String, String, String) - Method in class com.marringtons.net.HTTP.Response
Complete the response by sending the contents of a file.
session - Static variable in class com.marringtons.util.Session.Lifetime
Scope to be used if data is to be discarded when session closes
sessionID - Variable in class com.marringtons.util.Session.PersistentData.index
Session key
sessionID - Variable in class com.marringtons.util.Session.PersistentData
Unique session identifier.
set(String) - Static method in class com.marringtons.file.Output
Set the output directory - normally from the application name.
set(String) - Method in class com.marringtons.string.Properties
Set a string property from a name/value pair.
set(String, String) - Method in class com.marringtons.string.Properties
Set a string property.
set(String, long) - Method in class com.marringtons.string.Properties
Set an integer property.
set(String, boolean) - Method in class com.marringtons.string.Properties
Set a boolean property.
set(Object, Object) - Static method in class com.marringtons.util.ThreadData
If you use the data() method that returns null rather than creating a new data item, you will need setData() to create the item.
setArchive(String) - Method in class com.marringtons.file.FileReader
Set the archive used for the next open statement.
setCacheSize(int) - Method in class com.marringtons.util.Cache
Reset the maximum number of entries in the cache.
setCharacterMode() - Method in class com.marringtons.net.HTTP.Client
Set the transfer from server to character at a time (instead of line).
setCharacterMode(boolean) - Method in class com.marringtons.net.HTTP.Client
Set the transfer from server to character at a time (instead of line).
setContentType(String) - Method in class com.marringtons.net.HTTP.Response
Default content type is text/html - or that set by file entension.
setCurrentRecord(int) - Method in class com.marringtons.object.DAO
Set the current record when an initialiser just won't do.
setExpiry(Object, int) - Method in class com.marringtons.util.Cache
Set the expiry time for an entry.
setMap(Map) - Method in class com.marringtons.number.IntegerMap
When the default HashMap is not the correct map for the job, call setMap().
setPermanentCookie(String, Object) - Method in class com.marringtons.net.HTTP.Response
Set a browser cookie that will last forever.
setPersistentCookie(String, Object, int) - Method in class com.marringtons.net.HTTP.Response
Set a browser cookie that will last for the time specified
setQueryString(String) - Method in class com.marringtons.net.HTTP.Request
Set the query string - used to reset after unsuccessfully trying defaults like CGI?
setQueryString(String[]) - Method in class com.marringtons.net.HTTP.Request
encode and Set the query string given the individual arguments.
setQueryString(String[], int) - Method in class com.marringtons.net.HTTP.Request
encode and Set the query string given the individual arguments.
setReader(BufferedReader) - Method in class com.marringtons.net.HTTP.Request
Another data source raw reader (typically socket)
setReader(Reader) - Method in class com.marringtons.net.HTTP.Request
Another data source raw reader (typically socket)
setReader(Socket) - Method in class com.marringtons.net.HTTP.Request
Before fetching request queries from the browser we will need to tell it which socket to use.
setReader(String) - Method in class com.marringtons.net.HTTP.Request
Junit tests often provide the request data in a string.
setSessionCookie(String, Object) - Method in class com.marringtons.net.HTTP.Response
Set a browser cookie that will only last until the browser closes (browser session).
setStream(OutputStream) - Static method in class com.marringtons.util.Log
Logging goes to the console by default.
setStream(PrintStream) - Static method in class com.marringtons.util.Log
Logging goes to the console by default.
setStream(String) - Static method in class com.marringtons.util.Log
Logging goes to the console by default.
setTimeout(int) - Method in class com.marringtons.util.Session
Change from the default timeout when a session closes.
setURL(String) - Method in class com.marringtons.net.HTTP.Request
While looking for the file/class to run/serve on the local system we need to change the URL - usually to add bits (like /index.html).
setVerbosity(boolean) - Static method in class com.marringtons.util.Log
In Verbose mode get more logging messages - for production debugging.
setZipFileCacheSize(int) - Static method in class com.marringtons.file.FileReader
Only ever called by Application.load() to reset the zip file cache size to overcome chicken-and-egg problem.
size() - Method in class com.marringtons.file.FileReader
Retrieve the size of the opened file.
size() - Method in class com.marringtons.number.IntegerStack
Find out how many entries are on the stack.
size() - Method in class com.marringtons.string.Properties
Return the number of property entries that currently exist.
size() - Method in class com.marringtons.string.StringStack
Return the number of items currently on the stack.
size() - Method in class com.marringtons.util.Cache
Return the number of active items currently in the cache pool.
size() - Method in class com.marringtons.util.Stack
Return the number of items currently on the stack.
sleep(int) - Static method in class com.marringtons.util.Application
Let this thread sleep (lightly) for the required time - but drop out if interrupted.
sleepSoundly(int) - Static method in class com.marringtons.util.Application
Let this thread sleep for the required time - independant of interrupts.
socket - Variable in class com.marringtons.net.HTTP.Response
Socket this response sends to.
sortDescendingByLength(String[]) - Static method in class com.marringtons.string.Strings
Sort an array of strings by length - longest first.
split(String) - Static method in class com.marringtons.file.Path
Split a full file name (including path) into a string for the data path used, a String for the relative path and a third for the file name component only.
split(String) - Static method in class com.marringtons.string.Strings
Split a comma separator string into an array of strings.
splitJava(String) - Static method in class com.marringtons.string.Strings
Split a Java qualified name (package.package.Class.field) into an array of strings.
stamp() - Static method in class com.marringtons.util.Log
Send timestamp to log (yyy7mmdd-hh:mm.sss).
stamp(Object) - Static method in class com.marringtons.util.Log
Add a timestamped message line to the log.
start() - Static method in class com.marringtons.object.Transaction
Start a new Transaction.
start(String, String[]) - Static method in class com.marringtons.util.Application
Called by every application when it starts with the name of the application and the command line arguments.
start(Object) - Static method in class com.marringtons.util.Application
Units tests don't have a command line to enter - and their idea of a current directory is coloured by the IDE that is running it.
staticContent - Variable in class com.marringtons.net.HTTP.Header
Set true if data to send is static content.
stop() - Method in class com.marringtons.io.RecordingBufferedReader
Close and turn off recording.
stop() - Method in class com.marringtons.time.Timer
Sets the end time
stop(String) - Method in class com.marringtons.time.Timer
Sets the end time and returns the elapsed time and message.
stream(String, boolean) - Static method in class com.marringtons.file.Output
Given a file name, create or append to a file.
subtract(int, int, int) - Method in class com.marringtons.time.Date
Remove a term in years, months and days from a date to get a starting date.

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