Overview
Package
Class
Use
Tree
Index
Help
Purple Code
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
A
abbreviate(String, int)
- Static method in class com.purpletech.util.
Utils
Turn "Now is the time for all good men" into "Now is the time for..."
AbstractPeer
- class com.purpletech.message.
AbstractPeer
.
An abstract implementation of a message peer.
AbstractPeer(MessagePeerPrinter)
- Constructor for class com.purpletech.message.
AbstractPeer
AbstractPeer(PrintStream)
- Constructor for class com.purpletech.message.
AbstractPeer
ACC_ABSTRACT
- Static variable in class com.purpletech.lang.
Classfile
ACC_FINAL
- Static variable in class com.purpletech.lang.
Classfile
ACC_INTERFACE
- Static variable in class com.purpletech.lang.
Classfile
ACC_PUBLIC
- Static variable in class com.purpletech.lang.
Classfile
ACC_SUPER
- Static variable in class com.purpletech.lang.
Classfile
access()
- Method in class com.purpletech.util.
TimeoutMap.Info
ActiveTask
- class com.purpletech.util.
ActiveTask
.
ActiveTask(String)
- Constructor for class com.purpletech.util.
ActiveTask
ActiveTask(String, int)
- Constructor for class com.purpletech.util.
ActiveTask
add(double)
- Method in class com.purpletech.math.
DoubleSeries
Note:
not
synchronized! Use only within a single thread, or inside a single thread-safe object.
add(int)
- Method in class com.purpletech.math.
Series
Note:
not
synchronized! Use only within a single thread, or inside a single thread-safe object.
add(int)
- Method in class com.purpletech.math.
MinMax
add(int)
- Method in class com.purpletech.math.
Average
add(int, Object)
- Method in class com.purpletech.util.
IndexedList
add(Object)
- Method in class com.purpletech.message.server.
ClientSet
add(Object)
- Method in interface com.purpletech.util.
Queue
add(Object)
- Method in class com.purpletech.util.
IndexedList
add(Object)
- Method in class com.purpletech.util.
BlockingQueue
If there is a maximum, then new items force old items out.
add(Object, Object)
- Method in class com.purpletech.util.
EntryList
Add the name-value pair to the list.
add(String, String)
- Method in class com.purpletech.util.
Options
addAll(Collection)
- Method in class com.purpletech.util.
IndexedList
addAll(Object, List)
- Method in class com.purpletech.util.
EntryList
Add all the given values to this list under the given key
addClient(Client)
- Method in class com.purpletech.message.server.
Splitter
addClient(Client)
- Method in class com.purpletech.message.server.
MessageServer
Add a new client.
addConsumer(ImageConsumer)
- Method in class com.purpletech.awt.
BlankImageProducer
addFrom(Dictionary)
- Method in class com.purpletech.util.
Parameters
addFrom(Dictionary, String)
- Method in class com.purpletech.util.
Parameters
addImageList(String, Vector)
- Method in class com.purpletech.awt.
ImageBuilder
addMessageListener(MessageListener)
- Method in interface com.purpletech.message.
MessagePeer
adds an event listener that receives
all
incoming messages received by this peer
addMessageListener(MessageListener)
- Method in class com.purpletech.message.
MessageClient
addMessageListener(MessageListener)
- Method in class com.purpletech.message.
AbstractPeer
addMessageListener(MessageListener)
- Method in class com.purpletech.message.server.
MessageServer
addMessageServerListener(MessageServerListener)
- Method in class com.purpletech.message.server.
MessageServer
addPropertyChangeListener(PropertyChangeListener)
- Method in class com.purpletech.util.
EntryList
addRenderer(GraphRenderer)
- Method in class com.purpletech.graph.
Graph
addStep(Script.Step)
- Method in class com.purpletech.net.
Script
addStep(String, String, long)
- Method in class com.purpletech.net.
Script
addTo(Dictionary)
- Method in class com.purpletech.util.
Parameters
addTo(Dictionary, String)
- Method in class com.purpletech.util.
Parameters
addTo(String)
- Method in class com.purpletech.net.
Qsmtp
addValues(String[][])
- Method in class com.purpletech.util.
Parameters
The default values are specified as an array of string pairs, as in:
Alarm
- class com.purpletech.util.
Alarm
.
sleeps a given amount of time, then interrupted the target thread
Alarm(Thread, long)
- Constructor for class com.purpletech.util.
Alarm
ALL
- Static variable in class com.purpletech.message.
Message
peer id number meaning "all clients"
allowMultiple
- Variable in class com.purpletech.util.
IndexedList
AllTests
- class com.purpletech.test.
AllTests
.
TestSuite that runs all the tests
AllTests()
- Constructor for class com.purpletech.test.
AllTests
appendValues
- Variable in class com.purpletech.util.
Options
When we find a duplicate parameter name, should we append the new value to the old value, or just replace it? Default = false (replace).
args
- Variable in class com.purpletech.util.
Options
argString
- Static variable in class com.purpletech.util.
StringConverter
ArrayMap
- class com.purpletech.util.
ArrayMap
.
A HashMap that can be constructed with an Object array.
ArrayMap(Object[])
- Constructor for class com.purpletech.util.
ArrayMap
Usage:
Map m = new ArrayMap( new String[] { "firstname", "Alex", "lastname", "Chaffee" } );
assert()
- Static method in class com.purpletech.util.
Assertion
assert(boolean)
- Static method in class com.purpletech.util.
Debug
If the given condition is not true, throw an AssertionFailedException
assert(boolean)
- Static method in class com.purpletech.util.
Assertion
assert(boolean, String)
- Static method in class com.purpletech.util.
Debug
assert(String)
- Static method in class com.purpletech.util.
Assertion
assert(String, boolean)
- Static method in class com.purpletech.util.
Assertion
Assertion
- class com.purpletech.util.
Assertion
.
Assertion()
- Constructor for class com.purpletech.util.
Assertion
AssertionFailedException
- exception com.purpletech.util.
AssertionFailedException
.
A condition which must be true was not.
AssertionFailedException(String)
- Constructor for class com.purpletech.util.
AssertionFailedException
assertTrue(boolean)
- Static method in class com.purpletech.util.
Debug
assertTrue(boolean, String)
- Static method in class com.purpletech.util.
Debug
attributes
- Variable in class com.purpletech.xml.
XMLEntryList
Auditor
- class com.purpletech.message.server.
Auditor
.
Put the class description here.
Auditor(Set, List, Queue, Receiver, ThreadPool, ProcessorCounter, ThreadWatcher, int)
- Constructor for class com.purpletech.message.server.
Auditor
Initialize this object.
Average
- class com.purpletech.math.
Average
.
Maintains a running average
Average(int)
- Constructor for class com.purpletech.math.
Average
B
BadPathException
- exception com.purpletech.util.
BadPathException
.
BadPathException(String)
- Constructor for class com.purpletech.util.
BadPathException
BasicRange
- class com.purpletech.graph.
BasicRange
.
BasicRange(int, int, Unit)
- Constructor for class com.purpletech.graph.
BasicRange
BasicThreadWatcher
- class com.purpletech.util.
BasicThreadWatcher
.
Watches threads.
BasicThreadWatcher()
- Constructor for class com.purpletech.util.
BasicThreadWatcher
BasicThreadWatcher(int, int, int, PrintStream, boolean)
- Constructor for class com.purpletech.util.
BasicThreadWatcher
BasicTick
- class com.purpletech.graph.tick.
BasicTick
.
BasicTick(int, int, int, int, int, Date, Date)
- Constructor for class com.purpletech.graph.tick.
BasicTick
BIND_REPLY
- Static variable in class com.purpletech.message.
SystemData
BIND_REQUEST
- Static variable in class com.purpletech.message.
SystemData
bind(String)
- Method in interface com.purpletech.message.
MessagePeer
bind(String)
- Method in class com.purpletech.message.
MessageClient
bind(String)
- Method in class com.purpletech.message.
AbstractPeer
bind(String, int)
- Method in class com.purpletech.message.server.
Namer
BindTester
- class com.purpletech.message.
BindTester
.
BindTester()
- Constructor for class com.purpletech.message.
BindTester
BlankImageProducer
- class com.purpletech.awt.
BlankImageProducer
.
Produces an empty image.
BlankImageProducer(int, int)
- Constructor for class com.purpletech.awt.
BlankImageProducer
BlankImageProducer(int, int, Color)
- Constructor for class com.purpletech.awt.
BlankImageProducer
BlockingClient
- class com.purpletech.message.
BlockingClient
.
processes input and output for a single client
BlockingClient(Socket, int)
- Constructor for class com.purpletech.message.
BlockingClient
Initialize this object.
BlockingPeer
- class com.purpletech.message.
BlockingPeer
.
A blocking message peer.
BlockingPeer(String, int, MessagePeerPrinter)
- Constructor for class com.purpletech.message.
BlockingPeer
BlockingPeer(String, int, PrintStream)
- Constructor for class com.purpletech.message.
BlockingPeer
BlockingPeer(String, MessagePeerPrinter)
- Constructor for class com.purpletech.message.
BlockingPeer
BlockingPeer(String, PrintStream)
- Constructor for class com.purpletech.message.
BlockingPeer
BlockingQueue
- class com.purpletech.util.
BlockingQueue
.
BlockingQueue()
- Constructor for class com.purpletech.util.
BlockingQueue
BlockingQueue(BlockingQueue)
- Constructor for class com.purpletech.util.
BlockingQueue
BlockingQueue(int)
- Constructor for class com.purpletech.util.
BlockingQueue
buildImageList(String, String)
- Static method in class com.purpletech.awt.
ImageBuilder
Pass in a semicolon-delimited list of image file names, get back a vector of ImageInfo records that you can pass to addImageList.
C
cache
- Variable in class com.purpletech.io.
CachedFS
Cache
- class com.purpletech.util.
Cache
.
An object cache that eventually times out its elements.
Cache.Entry
- class com.purpletech.util.
Cache.Entry
.
an entry in a cache.
Cache.StringKey
- class com.purpletech.util.
Cache.StringKey
.
A sample Primary Key class containing merely a string.
Cache.StringKey(String)
- Constructor for class com.purpletech.util.
Cache.StringKey
Cache()
- Constructor for class com.purpletech.util.
Cache
Cache(long)
- Constructor for class com.purpletech.util.
Cache
CachedFS
- class com.purpletech.io.
CachedFS
.
Cached File System: sits on top of a file system, loads files from disk and stores them in memory.
CachedFS.BinaryLoader
- class com.purpletech.io.
CachedFS.BinaryLoader
.
CachedFS.BinaryLoader()
- Constructor for class com.purpletech.io.
CachedFS.BinaryLoader
CachedFS.Loader
- interface com.purpletech.io.
CachedFS.Loader
.
Callback that processes a file, turning it into an object, as it's loaded.
CachedFS.Tester
- interface com.purpletech.io.
CachedFS.Tester
.
Callback that provides an extra check as to whether a file needs to be reloaded.
CachedFS.TextLoader
- class com.purpletech.io.
CachedFS.TextLoader
.
CachedFS.TextLoader()
- Constructor for class com.purpletech.io.
CachedFS.TextLoader
CachedFS()
- Constructor for class com.purpletech.io.
CachedFS
JavaBean initializer -- must call setRoot immediately
CachedFS(File)
- Constructor for class com.purpletech.io.
CachedFS
CachedFS(String)
- Constructor for class com.purpletech.io.
CachedFS
calcMargins()
- Method in class com.purpletech.graph.
PointGraph
calcMargins()
- Method in class com.purpletech.graph.
Graph
calcMinMax(Collection)
- Method in class com.purpletech.graph.
IntegerGraphModel
capitalize(String)
- Static method in class com.purpletech.util.
Utils
capitalize the first character of s
chance
- Variable in class com.purpletech.io.
StallOutputStream
ChatServer
- class com.purpletech.message.server.
ChatServer
.
A Chat Server is just like a normal server only it posts a message to ALL when a client joins or leaves.
ChatServer()
- Constructor for class com.purpletech.message.server.
ChatServer
ChatServer(Options)
- Constructor for class com.purpletech.message.server.
ChatServer
check()
- Method in class com.purpletech.util.
BasicThreadWatcher
Checker
- class com.purpletech.message.server.
Checker
.
Checks all clients to make sure they're still connected; times out stale clients.
Checker(MessageServer, Set, List, int, int, int, ThreadWatcher)
- Constructor for class com.purpletech.message.server.
Checker
Checker(MessageServer, Set, List, ThreadWatcher)
- Constructor for class com.purpletech.message.server.
Checker
checkType(Object)
- Method in class com.purpletech.graph.
IntegerUnit
chmod(File, String)
- Static method in class com.purpletech.util.
IOUtils
CLASS
- Static variable in class com.purpletech.lang.
Constant
Classfile
- class com.purpletech.lang.
Classfile
.
Primitive classfile parser
Classfile(InputStream)
- Constructor for class com.purpletech.lang.
Classfile
classname
- Variable in class com.purpletech.message.
Message
clear
- Static variable in class com.purpletech.util.
BasicThreadWatcher
clear()
- Method in class com.purpletech.util.
IndexedList
clearRect(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
client
- Variable in class com.purpletech.message.server.
MessageServerEvent
Client
- interface com.purpletech.message.server.
Client
.
This is the Client as seen by the server.
clientAdded(MessageServerEvent)
- Method in class com.purpletech.message.server.
Splitter
clientAdded(MessageServerEvent)
- Method in interface com.purpletech.message.server.
MessageServerListener
clientAdded(MessageServerEvent)
- Method in class com.purpletech.message.server.
ChatServer
clientRemoved(MessageServerEvent)
- Method in class com.purpletech.message.server.
Splitter
clientRemoved(MessageServerEvent)
- Method in interface com.purpletech.message.server.
MessageServerListener
clientRemoved(MessageServerEvent)
- Method in class com.purpletech.message.server.
ChatServer
clients
- Variable in class com.purpletech.message.server.
Splitter
ClientSet
- class com.purpletech.message.server.
ClientSet
.
A List specialized to store Client objects.
ClientSet()
- Constructor for class com.purpletech.message.server.
ClientSet
ClientSet(Collection)
- Constructor for class com.purpletech.message.server.
ClientSet
clipRect(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
clone()
- Method in class com.purpletech.message.server.
ClientSet
clone()
- Method in class com.purpletech.util.
EntryList.Entry
clone()
- Method in class com.purpletech.util.
BlockingQueue
close()
- Method in class com.purpletech.io.
LockingFileOutputStream
close()
- Method in class com.purpletech.io.
LockingFileInputStream
close()
- Method in class com.purpletech.message.
BlockingClient
close()
- Method in class com.purpletech.message.server.
RemoteClient
close()
- Method in interface com.purpletech.message.server.
Client
tell this client to go bye-bye.
close()
- Method in class com.purpletech.net.
Qsmtp
close()
- Method in class com.purpletech.net.
Proxy
close()
- Method in class com.purpletech.util.
SmartProcess
Closes all streams and kills the process if there is one.
closeConnection(DbConnectionBroker, Connection, Statement, ResultSet)
- Static method in class com.purpletech.util.
DBUtils
Call this from your finally block.
closeProxy()
- Method in class com.purpletech.net.
ProxyTest
colorContents
- Variable in class com.purpletech.graph.
PointGraph
colorContents
- Variable in class com.purpletech.graph.
Graph
colorXAxis
- Variable in class com.purpletech.graph.
PointGraph
colorXAxis
- Variable in class com.purpletech.graph.
Graph
colorXLabels
- Variable in class com.purpletech.graph.
PointGraph
colorXLabels
- Variable in class com.purpletech.graph.
Graph
colorXRules
- Variable in class com.purpletech.graph.
PointGraph
colorXRules
- Variable in class com.purpletech.graph.
Graph
colorYAxis
- Variable in class com.purpletech.graph.
PointGraph
colorYAxis
- Variable in class com.purpletech.graph.
Graph
colorYLabels
- Variable in class com.purpletech.graph.
PointGraph
colorYLabels
- Variable in class com.purpletech.graph.
Graph
colorYRules
- Variable in class com.purpletech.graph.
PointGraph
colorYRules
- Variable in class com.purpletech.graph.
Graph
com.purpletech.awt
- package com.purpletech.awt
com.purpletech.graph
- package com.purpletech.graph
com.purpletech.graph.currency
- package com.purpletech.graph.currency
com.purpletech.graph.tick
- package com.purpletech.graph.tick
com.purpletech.io
- package com.purpletech.io
com.purpletech.lang
- package com.purpletech.lang
com.purpletech.math
- package com.purpletech.math
com.purpletech.message
- package com.purpletech.message
com.purpletech.message.server
- package com.purpletech.message.server
com.purpletech.net
- package com.purpletech.net
com.purpletech.servlets
- package com.purpletech.servlets
com.purpletech.test
- package com.purpletech.test
com.purpletech.util
- package com.purpletech.util
com.purpletech.xml
- package com.purpletech.xml
commaList(Collection)
- Static method in class com.purpletech.util.
Utils
Deprecated.
use org.apache.commons.lang.StringUtils.join()
commaList(Iterator)
- Static method in class com.purpletech.util.
Utils
Deprecated.
use org.apache.commons.lang.StringUtils.join()
commaList(Object[])
- Static method in class com.purpletech.util.
Utils
Deprecated.
use org.apache.commons.lang.StringUtils.join()
compare(Object, Object)
- Method in class com.purpletech.util.
MapEntryComparator
connect()
- Method in interface com.purpletech.message.
MessagePeer
Try to connect to the server
connect()
- Method in class com.purpletech.message.
MessageClient
Try to connect to the network
connect()
- Method in class com.purpletech.message.
BlockingPeer
Try to connect to the network
connect()
- Method in class com.purpletech.message.
AbstractPeer
connect()
- Method in class com.purpletech.message.server.
MessageServer
Constant
- class com.purpletech.lang.
Constant
.
Constant.Class
- class com.purpletech.lang.
Constant.Class
.
Constant.Double
- class com.purpletech.lang.
Constant.Double
.
Constant.Float
- class com.purpletech.lang.
Constant.Float
.
Constant.Integer
- class com.purpletech.lang.
Constant.Integer
.
Constant.Long
- class com.purpletech.lang.
Constant.Long
.
Constant.NameAndType
- class com.purpletech.lang.
Constant.NameAndType
.
Constant.Ref
- class com.purpletech.lang.
Constant.Ref
.
Constant.String
- class com.purpletech.lang.
Constant.String
.
Constant.Utf8
- class com.purpletech.lang.
Constant.Utf8
.
Constant()
- Constructor for class com.purpletech.lang.
Constant
Constant(byte)
- Constructor for class com.purpletech.lang.
Constant
CONSTANTS
- Static variable in class com.purpletech.lang.
Constant
containsKey(Object)
- Method in class com.purpletech.util.
IndexedList
containsValue(Object)
- Method in class com.purpletech.util.
IndexedList
convertUTF(byte[])
- Static method in class com.purpletech.lang.
Constant
CookieDetector
- class com.purpletech.servlets.
CookieDetector
.
This servlet detects whether the client accepts cookies.
CookieDetector()
- Constructor for class com.purpletech.servlets.
CookieDetector
copyArea(int, int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
copyFile(File, File)
- Static method in class com.purpletech.util.
IOUtils
Copies one file to another.
copyWhenCreated
- Variable in class com.purpletech.message.server.
Splitter
count()
- Method in class com.purpletech.util.
BasicThreadWatcher
count(String, char)
- Static method in class com.purpletech.util.
Utils
Deprecated.
use org.apache.commons.lang.StringUtils.countMatches instead
create()
- Method in class com.purpletech.awt.
PureGraphics
Create a new Graphics Object based on this one.
CurrencyMapper
- class com.purpletech.graph.currency.
CurrencyMapper
.
This class converts between BogoDollars and a particular currency representation.
CurrencyMapper()
- Constructor for class com.purpletech.graph.currency.
CurrencyMapper
D
data
- Variable in class com.purpletech.awt.
PureImage
data
- Variable in class com.purpletech.graph.
IntegerGraphModel
data
- Variable in class com.purpletech.graph.tick.
TickRenderer
data
- Variable in class com.purpletech.message.
Message
contents of message
DataPoint
- interface com.purpletech.graph.
DataPoint
.
dateFormat
- Static variable in class com.purpletech.util.
StringConverter
DateUtils
- class com.purpletech.util.
DateUtils
.
DateUtils.ISO8601
- class com.purpletech.util.
DateUtils.ISO8601
.
DateUtils.ISO8601()
- Constructor for class com.purpletech.util.
DateUtils.ISO8601
DateUtils()
- Constructor for class com.purpletech.util.
DateUtils
day
- Variable in class com.purpletech.util.
DateUtils.ISO8601
DBUtils
- class com.purpletech.util.
DBUtils
.
DBUtils()
- Constructor for class com.purpletech.util.
DBUtils
debug
- Static variable in class com.purpletech.util.
DateUtils
debug
- Variable in class com.purpletech.xml.
XMLEntryListFactory
Debug
- class com.purpletech.util.
Debug
.
Debug utilities To disable logging for a particular log level, call Debug.logger.setLog("err", null)
Debug()
- Constructor for class com.purpletech.util.
Debug
debug(Object)
- Static method in class com.purpletech.util.
Debug
debug(Object)
- Method in class com.purpletech.util.
Logger
debug(Object)
- Method in class com.purpletech.xml.
XMLEntryListFactory
debug(String)
- Static method in class com.purpletech.io.
URLCache
debug(String)
- Static method in class com.purpletech.io.
FileCache
decode(String)
- Static method in class com.purpletech.net.
EchoCGI
DEFAULT_SIZE
- Static variable in class com.purpletech.awt.
Thumbnail
defaultfactory
- Static variable in class com.purpletech.xml.
XMLEntryList
defaults
- Static variable in class com.purpletech.message.server.
MessageServer
defaults
- Static variable in class com.purpletech.message.server.
ChatServer
DefaultServlet
- class com.purpletech.servlets.
DefaultServlet
.
A servlet that keeps its own list of default parameters, which it uses in case a requested parameter was unspecified by the user or the sysadmin.
DefaultServlet()
- Constructor for class com.purpletech.servlets.
DefaultServlet
delete(String)
- Method in class com.purpletech.io.
CachedFS
destroy()
- Method in class com.purpletech.message.
MessageApplet
destroy() is called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.
destroy()
- Method in class com.purpletech.util.
SmartProcess
Kills the process but leaves the output streams open.
disableLog(String)
- Method in class com.purpletech.util.
Logger
disconnect()
- Method in interface com.purpletech.message.
MessagePeer
Try to disconnect from the server
disconnect()
- Method in class com.purpletech.message.
MessageClient
disconnect()
- Method in class com.purpletech.message.
BlockingPeer
disconnect()
- Method in class com.purpletech.message.
AbstractPeer
disconnect()
- Method in class com.purpletech.message.server.
MessageServer
dispose()
- Method in class com.purpletech.awt.
PureGraphics
dispose()
- Method in class com.purpletech.awt.
ImageBuilder
documentReady(DOMEvent)
- Method in class com.purpletech.xml.
XMLEntryList
doGet(HttpServletRequest, HttpServletResponse)
- Method in class com.purpletech.servlets.
ImageServlet
doGet(HttpServletRequest, HttpServletResponse)
- Method in class com.purpletech.servlets.
CookieDetector
DOMListener
- Variable in class com.purpletech.xml.
XMLEntryList
DOMNode
- class com.purpletech.xml.
DOMNode
.
A java.util.List that embodies (and contains) a DOM node, giving an alternate, nicer interface.
DOMNode()
- Constructor for class com.purpletech.xml.
DOMNode
DOMUtils
- class com.purpletech.xml.
DOMUtils
.
DOMUtils()
- Constructor for class com.purpletech.xml.
DOMUtils
doSendSystemMessages
- Variable in class com.purpletech.message.
MessageClient
doSendSystemMessages
- Variable in class com.purpletech.message.
AbstractPeer
doStop
- Variable in class com.purpletech.util.
ActiveTask
DOUBLE
- Static variable in class com.purpletech.lang.
Constant
DoubleSeries
- class com.purpletech.math.
DoubleSeries
.
Maintains a running average and other calculations.
DoubleSeries(int)
- Constructor for class com.purpletech.math.
DoubleSeries
drawArc(int, int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawBytes(byte[], int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawChars(char[], int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawDot(Graphics, int, int, int)
- Method in class com.purpletech.graph.
Graph
parameters in graph units, not pixels
drawImage(Image, int, int, Color, ImageObserver)
- Method in class com.purpletech.awt.
PureImage
just draw an image into this one
drawImage(Image, int, int, Color, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
Draws an image at x,y in nonblocking mode with a solid background color and a callback object.
drawImage(Image, int, int, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
Draws an image at x,y in nonblocking mode with a callback object.
drawImage(Image, int, int, int, int, Color, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
Draws an image scaled to x,y,w,h in nonblocking mode with a solid background color and a callback object.
drawImage(Image, int, int, int, int, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
Draws an image scaled to x,y,w,h in nonblocking mode with a callback object.
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawLine(Graphics, int, int, int, int)
- Method in class com.purpletech.graph.
Graph
parameters in graph units, not pixels
drawLine(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented for diagonal lines
drawOval(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawPolygon(int[], int[], int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawPolyline(int[], int[], int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawRoundRect(int, int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawString(AttributedCharacterIterator, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
drawString(String, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
E
EchoCGI
- class com.purpletech.net.
EchoCGI
.
A simple CGI script.
EchoCGI()
- Constructor for class com.purpletech.net.
EchoCGI
endTime
- Variable in class com.purpletech.graph.tick.
BasicTick
EntryList
- class com.purpletech.util.
EntryList
.
A List that acts like a cross between a List and a Map.
EntryList.Entry
- class com.purpletech.util.
EntryList.Entry
.
Lifted from java/util/HashMap.java
EntryList.Entry(Object, Object)
- Constructor for class com.purpletech.util.
EntryList.Entry
EntryList()
- Constructor for class com.purpletech.util.
EntryList
EntryList(EntryList)
- Constructor for class com.purpletech.util.
EntryList
entrySet()
- Method in class com.purpletech.util.
TimeoutMap
entrySet()
- Method in class com.purpletech.util.
IndexedList
equals(Object)
- Method in class com.purpletech.util.
EntryList.Entry
equals(Object)
- Method in class com.purpletech.util.
Cache.StringKey
err(Object)
- Static method in class com.purpletech.util.
Debug
err(Object)
- Method in class com.purpletech.util.
Logger
exception
- Variable in class com.purpletech.io.
URLCache.Error
exception
- Variable in class com.purpletech.io.
FileCache.Error
exec(String, String, long)
- Static method in class com.purpletech.util.
Utils
Wrapper for Runtime.exec.
execute()
- Method in class com.purpletech.util.
SmartProcess
Wait for process to be executed and returns the result.
exit
- Variable in class com.purpletech.util.
Utils.ExecInfo
expandAllNodes(JTree)
- Static method in class com.purpletech.util.
SwingUtils
expandNodes(JTree, Set)
- Static method in class com.purpletech.util.
SwingUtils
expire(Object, Cache.Entry, long)
- Method in class com.purpletech.util.
Cache
Subclasses should override this to provide their own expiration heuristic.
expire(Object, TimeoutMap.Info, long)
- Method in class com.purpletech.util.
TimeoutMap
Subclasses should override this to provide their own expiration heuristic.
F
f
- Variable in class com.purpletech.io.
LockingFileOutputStream
f
- Variable in class com.purpletech.io.
LockingFileInputStream
factories
- Variable in class com.purpletech.util.
StringConverter
factory
- Variable in class com.purpletech.xml.
XMLEntryList
FancyGraph
- class com.purpletech.graph.
FancyGraph
.
FancyGraph()
- Constructor for class com.purpletech.graph.
FancyGraph
FancyGraph(GraphModel)
- Constructor for class com.purpletech.graph.
FancyGraph
FEMALE
- Static variable in class com.purpletech.util.
Gender
fetch(String)
- Method in interface com.purpletech.io.
URLCache.Fetcher
caller must close the stream
fetch(String)
- Method in class com.purpletech.io.
URLCache.DefaultFetcher
fetch(String)
- Method in interface com.purpletech.io.
FileCache.Fetcher
caller must close the stream
fetch(String)
- Method in class com.purpletech.io.
FileCache.DefaultFetcher
FIELDREF
- Static variable in class com.purpletech.lang.
Constant
file
- Variable in class com.purpletech.awt.
ImageBuilder.ImageInfo
FileCache
- class com.purpletech.io.
FileCache
.
Maintains a cache of files on disk.
FileCache.DefaultFetcher
- class com.purpletech.io.
FileCache.DefaultFetcher
.
FileCache.DefaultFetcher()
- Constructor for class com.purpletech.io.
FileCache.DefaultFetcher
FileCache.Error
- class com.purpletech.io.
FileCache.Error
.
FileCache.Error(long, Throwable)
- Constructor for class com.purpletech.io.
FileCache.Error
FileCache.Fetcher
- interface com.purpletech.io.
FileCache.Fetcher
.
FileCache(String)
- Constructor for class com.purpletech.io.
FileCache
FileCache(String, long)
- Constructor for class com.purpletech.io.
FileCache
Filename
- class com.purpletech.util.
Filename
.
File name parser
Filename(String)
- Constructor for class com.purpletech.util.
Filename
FileUtils
- class com.purpletech.util.
FileUtils
.
Miscellaneous file-related utility methods.
FileUtils()
- Constructor for class com.purpletech.util.
FileUtils
fillArc(int, int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
FillerPlugin
- class com.purpletech.message.server.
FillerPlugin
.
Very simple way to add functionality to a server.
FillerPlugin()
- Constructor for class com.purpletech.message.server.
FillerPlugin
fillOval(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
fillPolygon(int[], int[], int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
fillRect(int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
fillRect(int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
fillRoundRect(int, int, int, int, int, int)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
finalize()
- Method in class com.purpletech.net.
Qsmtp
findCaller(String, Throwable)
- Static method in class com.purpletech.util.
Debug
findCaller(Throwable)
- Static method in class com.purpletech.util.
Debug
findChildByName(Node, String, boolean)
- Static method in class com.purpletech.xml.
DOMUtils
findChildByType(Node, int, boolean)
- Static method in class com.purpletech.xml.
DOMUtils
findFileAndLine()
- Static method in class com.purpletech.util.
Debug
Calculate what file and line number the Debug package was called from.
findFileAndLine(Throwable)
- Static method in class com.purpletech.util.
Debug
finish
- Variable in class com.purpletech.graph.tick.
BasicTick
fix(String)
- Static method in class com.purpletech.util.
EntryList
fixPath(String)
- Static method in class com.purpletech.util.
IOUtils
Removes "./" and "foo/../" and trailing "/" from pathname turns \ (backslash) into / (forward slash)
fixPath(String)
- Static method in class com.purpletech.util.
FileUtils
Deprecated.
flatten()
- Method in class com.purpletech.xml.
XMLEntryList
return a single string representing all sub-elements, including tags
flattenEach(XMLEntryList)
- Method in class com.purpletech.xml.
XMLEntryListFactory
flattenText
- Variable in class com.purpletech.xml.
XMLEntryListFactory
take text nodes and flatten their XML contents into a string.
FLOAT
- Static variable in class com.purpletech.lang.
Constant
flush()
- Method in class com.purpletech.awt.
PureImage
frac
- Variable in class com.purpletech.util.
DateUtils.ISO8601
from
- Variable in class com.purpletech.message.
Message
transient id for source of message
fromDouble(double)
- Method in class com.purpletech.graph.currency.
USDMapper
converts from a double (representing an actual value in the actual underlying currency) to BogoDollars
fromDouble(double)
- Method in class com.purpletech.graph.currency.
CurrencyMapper
converts from a double (representing an actual value in the actual underlying currency) to BogoDollars
fromObject(Object)
- Method in interface com.purpletech.graph.
Unit
converts from an Object representing an actual value in the real units to an int.
fromObject(Object)
- Method in class com.purpletech.graph.
IntegerUnit
converts from an Object representing an actual value in the real units to an int.
fromObject(Object)
- Method in class com.purpletech.graph.currency.
USDMapper
fromString(String)
- Method in interface com.purpletech.graph.
Unit
converts from a String representing an actual value in the real units to an int.
fromString(String)
- Method in class com.purpletech.graph.
IntegerUnit
converts from a String representing an actual value in the real units to an int.
fromString(String)
- Method in class com.purpletech.graph.currency.
USDMapper
fromString(String)
- Method in class com.purpletech.graph.currency.
CurrencyMapper
converts from a String (representing an actual value in the actual underlying currency) to BogoDollars.
fromString(String)
- Method in class com.purpletech.util.
StringConverter.Factory
fromString(String)
- Method in class com.purpletech.util.
StringConverter.DateFactory
fromString(String)
- Method in class com.purpletech.util.
StringConverter.GenderFactory
fromString(String)
- Static method in class com.purpletech.util.
Gender
fromString(String, Object)
- Method in class com.purpletech.util.
StringConverter
G
g
- Variable in class com.purpletech.awt.
ImageBuilder
Gender
- class com.purpletech.util.
Gender
.
get(int)
- Method in class com.purpletech.message.server.
ClientSet
get(int)
- Method in class com.purpletech.util.
IntMap
get(Object)
- Method in class com.purpletech.util.
TimeoutMap
Get an item from the cache.
get(Object)
- Method in class com.purpletech.util.
IndexedList
get(Object)
- Method in class com.purpletech.util.
EntryList
Get the first value corresponding to the given key
get(Object)
- Method in class com.purpletech.util.
Cache
Get an item from the cache.
get(Object)
- Method in class com.purpletech.xml.
XMLEntryList
get(String)
- Method in class com.purpletech.io.
URLCache
Takes an http: URL, a file: URL, or a raw file system pathname.
get(String)
- Method in class com.purpletech.io.
FileCache
Takes an http: URL, a file: URL, or a raw file system pathname.
get(String)
- Method in class com.purpletech.util.
IntMap
get(String, FileCache.Fetcher)
- Method in class com.purpletech.io.
FileCache
get(String, URLCache.Fetcher)
- Method in class com.purpletech.io.
URLCache
getAccessed()
- Method in class com.purpletech.util.
TimeoutMap.Info
getAccessed()
- Method in class com.purpletech.util.
Cache.Entry
getAccessed(Object)
- Method in class com.purpletech.util.
TimeoutMap
Convenience method to get the time this key's data was last accessed
getAccessed(Object)
- Method in class com.purpletech.util.
Cache
Convenience method to get the time this key's data was last accessed
getAll(Object)
- Method in class com.purpletech.util.
EntryList
Get all the values matching the given key
getAllEntries(Object)
- Method in class com.purpletech.util.
EntryList
Get all the entries (name-value pairs) matching the given key
getAllLeafNodes(TreeNode)
- Static method in class com.purpletech.util.
SwingUtils
getAllNodes(TreeNode, Set, boolean)
- Static method in class com.purpletech.util.
SwingUtils
getAttribute(Node, String)
- Static method in class com.purpletech.xml.
DOMUtils
getAverage()
- Method in class com.purpletech.math.
Series
getAverage()
- Method in class com.purpletech.math.
DoubleSeries
getAverage()
- Method in class com.purpletech.math.
Average
getAverage()
- Method in class com.purpletech.message.
PingBot
getAverageFloat()
- Method in class com.purpletech.math.
Average
getAverageTransit()
- Method in class com.purpletech.message.server.
ProcessorCounter
returns average time in transit for messages delivered
getBase()
- Method in class com.purpletech.util.
Path
getBase()
- Method in class com.purpletech.util.
Filename
getChild(Node, String)
- Static method in class com.purpletech.xml.
DOMUtils
getChild(Node, String, boolean)
- Static method in class com.purpletech.xml.
DOMUtils
getChildren(Node, String)
- Static method in class com.purpletech.xml.
DOMUtils
getChildren(Node, String, boolean)
- Static method in class com.purpletech.xml.
DOMUtils
getClasses()
- Method in class com.purpletech.lang.
Classfile
getClassName()
- Method in interface com.purpletech.io.
Writeable
getClassName()
- Method in class com.purpletech.message.
SystemData
getClassName()
- Method in class com.purpletech.message.
Message
getClassName(short)
- Method in class com.purpletech.lang.
Classfile
getClean(Object)
- Method in class com.purpletech.util.
TimeoutMap
Get an item from the cache.
getClient()
- Method in class com.purpletech.message.server.
MessageServerEvent
getClients()
- Method in class com.purpletech.message.server.
MessageServer
Returns a copy of the current list of clients.
getClientString(int)
- Method in class com.purpletech.net.
Proxy
getClip()
- Method in class com.purpletech.awt.
PureGraphics
not implemented
getClipBounds()
- Method in class com.purpletech.awt.
PureGraphics
not implemented
getClipRect()
- Method in class com.purpletech.awt.
PureGraphics
not implemented
getColor()
- Method in class com.purpletech.awt.
PureGraphics
getComponent(HttpServletRequest)
- Method in class com.purpletech.servlets.
ImageServlet
subclasses should override this method to return a Java AWT Component which draws their image
getComponent(HttpServletRequest)
- Method in class com.purpletech.servlets.
GraphServlet
getCount()
- Method in class com.purpletech.message.server.
Receiver
getCount()
- Method in class com.purpletech.message.server.
ProcessorCounter
getCreated(String)
- Method in class com.purpletech.io.
CachedFS
use JNI to find out the date the file was created -- not yet implemented
getData()
- Method in class com.purpletech.awt.
PureImage
returns the
int[]
array containing the pixel data.
getData()
- Method in class com.purpletech.graph.
IntegerGraphModel
getData()
- Method in interface com.purpletech.graph.
GraphModel
getData()
- Method in class com.purpletech.graph.tick.
TickGraphModel
getData()
- Method in class com.purpletech.message.
Message
getData()
- Method in class com.purpletech.util.
Cache.Entry
getDataClean()
- Method in class com.purpletech.util.
Cache.Entry
getDataInputStream()
- Method in class com.purpletech.message.
Message
only makes sense with TYPE_BYTES
getDataOutputStream()
- Method in class com.purpletech.message.
Message
returns a DataOutputStream that stores its bytes into this Message's data property.
getDate(Object)
- Method in class com.purpletech.util.
EntryList
Get as a date.
getDefault()
- Static method in class com.purpletech.util.
BasicThreadWatcher
getDefaultFetcher()
- Method in class com.purpletech.io.
URLCache
getDefaultFetcher()
- Method in class com.purpletech.io.
FileCache
getDefaults()
- Method in class com.purpletech.util.
Parameters
getDOMListener()
- Method in class com.purpletech.xml.
XMLEntryList
getDouble(String)
- Method in class com.purpletech.util.
Options
getEndTime()
- Method in interface com.purpletech.graph.tick.
Tick
exclusive
getEndTime()
- Method in class com.purpletech.graph.tick.
BasicTick
exclusive
getEntered()
- Method in class com.purpletech.util.
TimeoutMap.Info
getEntered()
- Method in class com.purpletech.util.
Cache.Entry
getEntered(Object)
- Method in class com.purpletech.util.
TimeoutMap
Convenience method to get the time this key's data was entered into the cache.
getEntered(Object)
- Method in class com.purpletech.util.
Cache
Convenience method to get the time this key's data was entered into the cache.
getEntry(int)
- Method in class com.purpletech.util.
EntryList
get an item as a Map.Entry
getEntry(Object)
- Method in class com.purpletech.util.
EntryList
Get the first entry corresponding to the given key
getEntry(Object)
- Method in class com.purpletech.util.
Cache
Get all information about this cache entry, including the object itself, and the times it was accessed and entered.
getError()
- Method in class com.purpletech.util.
SmartProcess
getError(String)
- Method in class com.purpletech.io.
URLCache
getError(String)
- Method in class com.purpletech.io.
FileCache
getErrorOutput()
- Method in class com.purpletech.util.
SmartProcess
Get the error output of the process.
getExt()
- Method in class com.purpletech.util.
Path
getExt()
- Method in class com.purpletech.util.
Filename
getFactory()
- Method in class com.purpletech.xml.
XMLEntryList
getFactory(Object)
- Method in class com.purpletech.util.
StringConverter
getFieldValue(Object, String)
- Static method in class com.purpletech.util.
ReflectionUtils
getFile(String)
- Method in class com.purpletech.io.
CachedFS
Load a file, or use the cached version if the file hasn't changed.
getFilenames(String)
- Method in class com.purpletech.io.
CachedFS
Get a list of all files in a given directory.
getFinish()
- Method in interface com.purpletech.graph.tick.
Tick
ending price
getFinish()
- Method in class com.purpletech.graph.tick.
BasicTick
ending price
getFirstMatch(String, String, String)
- Method in class com.purpletech.util.
OroRegexHelper
getFlags(short)
- Static method in class com.purpletech.lang.
Classfile
getFont()
- Method in class com.purpletech.awt.
PureGraphics
not implemented
getFontMetrics(Font)
- Method in class com.purpletech.awt.
PureGraphics
not implemented
getFrame()
- Static method in class com.purpletech.awt.
ImageUtils
getFrom()
- Method in class com.purpletech.message.
Message
getFull()
- Method in class com.purpletech.util.
Filename
getFullMatch(String, String, String)
- Method in class com.purpletech.util.
OroRegexHelper
getGraphics()
- Method in class com.purpletech.awt.
PureImage
Creates a graphics context for drawing to an off-screen image.
getGraphLineSpacing()
- Method in class com.purpletech.graph.
FancyGraph
getHeight()
- Method in class com.purpletech.awt.
PureImage
getHeight(ImageObserver)
- Method in class com.purpletech.awt.
PureImage
Determines the height of the image.
getHigh()
- Method in interface com.purpletech.graph.tick.
Tick
high price during interval
getHigh()
- Method in class com.purpletech.graph.tick.
BasicTick
high price during interval
getHost()
- Method in class com.purpletech.message.
MessageClient
getHost()
- Method in class com.purpletech.message.
BlockingPeer
getHost()
- Method in class com.purpletech.net.
Qsmtp
getID()
- Method in interface com.purpletech.message.
MessagePeer
get the ID of this peer
getID()
- Method in class com.purpletech.message.
MessageClient
getID()
- Method in class com.purpletech.message.
BlockingClient
Accessor
getID()
- Method in class com.purpletech.message.
AbstractPeer
getID()
- Method in class com.purpletech.message.server.
RemoteClient
Accessor
getID()
- Method in interface com.purpletech.message.server.
Client
getImage()
- Method in class com.purpletech.awt.
JImageComponent
getIndex()
- Method in class com.purpletech.util.
IndexedList
getInfo(Object)
- Method in class com.purpletech.util.
TimeoutMap
Get all information about this cache entry, including the times it was accessed and entered.
getInitParameter(String)
- Method in class com.purpletech.servlets.
DefaultServlet
Overrides standard getInitParameter.
getInputStream()
- Method in class com.purpletech.message.
QuoteBot
getInputStream()
- Method in class com.purpletech.message.
MessageClient
subclasses can override this to provide filters on the input stream
getInputStream()
- Method in class com.purpletech.message.
Message
getInputStream()
- Method in class com.purpletech.message.
BlockingPeer
subclasses can override this to provide filters on the input stream
getInt()
- Method in class com.purpletech.message.
Message
Alternate accessor -- get data as int
getInt(String)
- Method in class com.purpletech.util.
Options
getKey()
- Method in class com.purpletech.util.
EntryList.Entry
getKey(Object)
- Method in class com.purpletech.message.server.
ClientSet
getKey(Object)
- Method in interface com.purpletech.util.
IndexedList.Indexer
getLabelsIterator()
- Method in class com.purpletech.graph.
GraphAxis
returns an iterator returning all the label positions, in units (at the center of the label)
getLast()
- Method in class com.purpletech.math.
Series
getLastModified(String)
- Method in class com.purpletech.io.
CachedFS
getLastReceived()
- Method in class com.purpletech.message.server.
RemoteClient
getLastReceived()
- Method in interface com.purpletech.message.server.
Client
system (local) time when the last message was received from this client
getLastSent()
- Method in class com.purpletech.message.server.
RemoteClient
getLastSent()
- Method in interface com.purpletech.message.server.
Client
system (local) time when the last message was sent to this client
getListName()
- Method in class com.purpletech.xml.
XMLEntryList
getLocale()
- Method in class com.purpletech.graph.currency.
CurrencyMapper
returns the Locale for which this currency is standard
getLog()
- Method in class com.purpletech.servlets.
DefaultServlet
getLog(String)
- Method in class com.purpletech.util.
Logger
getLogHTML()
- Method in class com.purpletech.servlets.
DefaultServlet
getLow()
- Method in interface com.purpletech.graph.tick.
Tick
low price during interval
getLow()
- Method in class com.purpletech.graph.tick.
BasicTick
low price during interval
getMap()
- Method in class com.purpletech.util.
Cache
returns an unmodifiable Map for the entries in the cache.
getMatches(String, String, String)
- Method in class com.purpletech.util.
OroRegexHelper
getMax()
- Method in interface com.purpletech.graph.
Range
getMax()
- Method in class com.purpletech.graph.
GraphAxis
getMax()
- Method in class com.purpletech.graph.
BasicRange
getMax()
- Method in class com.purpletech.math.
Series
getMax()
- Method in class com.purpletech.math.
MinMax
getMax()
- Method in class com.purpletech.math.
DoubleSeries
getMaxLength(Iterator)
- Static method in class com.purpletech.util.
Utils
calculate the maximum length of all strings in i.
getMessage()
- Method in class com.purpletech.message.
MessageEvent
getMin()
- Method in interface com.purpletech.graph.
Range
getMin()
-