Takes a string and a character and replaces all instances of the characters
hexidecimal value (in the form %XX) with the character and returns the
result.
The getUuid method returns an array of bytes, which is convenient
for writing out the uuid to the network, but sometimes it is useful
to print it to console or log for debugging purposes or to use it
as a key in a hashtable, so this method converts the uuid to a
printable string.
HttpConnectionService maintains a cache of open connections, so
that repeated http client connections to other hosts don't result
in needless tcp open/closes.
This class starts the JXTA platform outside of a servlet engine,
which is necessary because a servlet engine can use a different
class-loader for each servlet context, and so servlets from
different contexts will not be able to see the same JXTA platform.
How to test:
Supply data on stdin that would be copied used testWrite
and supply a filename of the file that would be copied
several times to using testArrayWrite, once for each of
the test buffer sizes.
quick_match performs a match between "word" and query "q"
and returns true if there is a match
and false if there is no match, note that case is ignored.
This class can create 16-byte globally-unique identifiers, useful for
identifying network messages or tasks that propagate through a network
of machines.