com.Ostermiller.util |
|
Java Source File Name | Type | Comment |
ArrayEnumeration.java | Class | Converts an array to an enumerator. |
ArrayHelper.java | Class | Convenience methods for working with Java arrays. |
ArrayHelperTests.java | Class | Regression test for ArrayHelper. |
ArrayIterator.java | Class | Converts an array to an iterator. |
BadDelimeterException.java | Class | An Illegal delimiter was specified.
This class has been replaced by BadDelimiterException. |
BadDelimiterException.java | Class | An Illegal delimiter was specified. |
BadLineEndingException.java | Class | An illegal line ending was specified. |
BadQuoteException.java | Class | An illegal quote was specified. |
Base64.java | Class | Implements Base64 encoding and decoding as defined by RFC 2045: "Multi-purpose Internet
Mail Extensions (MIME) Part One: Format of Internet Message Bodies" page 23.
More information about this class is available from ostermiller.org.
The Base64 Content-Transfer-Encoding is designed to represent
arbitrary sequences of octets in a form that need not be humanly
readable. |
Base64DecodingException.java | Class | Exception that is thrown when an unexpected character is encountered
during Base64 decoding. |
Base64Tests.java | Class | |
BinaryDataException.java | Class | Signals that binary data was encountered and continuing
with a text operation would likely corrupt the data. |
Browser.java | Class | Allows URLs to be opened in the system browser on Windows and Unix. |
BufferOverflowException.java | Class | An indication that there was a buffer overflow. |
CGIParser.java | Class | Parses query string data from a CGI request into name value pairs. |
CircularBufferTests.java | Class | Regression test for circular buffers. |
CircularByteBuffer.java | Class | Implements the Circular Buffer producer/consumer model for bytes.
More information about this class is available from ostermiller.org.
Using this class is a simpler alternative to using a PipedInputStream
and a PipedOutputStream. |
CircularCharBuffer.java | Class | Implements the Circular Buffer producer/consumer model for characters.
More information about this class is available from ostermiller.org.
Using this class is a simpler alternative to using a PipedReader
and a PipedWriter. |
CircularObjectBuffer.java | Class | Implements the Circular Buffer producer/consumer model for Objects. |
CmdLn.java | Class | Command line argument parser for Java command line programs. |
CmdLnArgumentException.java | Class | Exception thrown for a problem with a specific command line option. |
CmdLnException.java | Class | Exception thrown when a command line cannot be parsed. |
CmdLnListener.java | Class | Call back for when a command line option is found. |
CmdLnOption.java | Class | A command line option used by the CommandLineOptions parser. |
CmdLnResult.java | Class | Result when a command line option is found. |
CmdLnTests.java | Class | Regression tests for the command line options. |
ConcatInputStream.java | Class | An input stream which reads sequentially from multiple sources. |
ConcatReader.java | Class | A reader which reads sequentially from multiple sources. |
ConcatTests.java | Class | Regression test for Concatenation Streams. |
CSVParse.java | Interface | Read files in comma separated value format. |
CSVParser.java | Class | Read files in comma separated value format.
More information about this class is available from ostermiller.org.
CSV is a file format used as a portable representation of a database.
Each line is one entry or record and the fields in a record are separated by commas.
Commas may be preceded or followed by arbitrary space and/or tab characters which are
ignored.
If field includes a comma or a new line, the whole field must be surrounded with double quotes.
When the field is in quotes, any quote literals must be escaped by \" Backslash
literals must be escaped by \\. Otherwise a backslash and the character following
will be treated as the following character, IE. |
CSVPrint.java | Interface | Print values as a comma separated list. |
CSVPrinter.java | Class | Print values as a comma separated list. |
CSVTests.java | Class | Regression test for CSV. |
EnumerationIterator.java | Class | Converts an Enumeration to an iterator. |
ExcelCSVParser.java | Class | Read files in comma separated value format as outputted by the Microsoft
Excel Spreadsheet program.
More information about this class is available from ostermiller.org.
Excel CSV is a file format used as a portable representation of a database.
Each line is one entry or record and the fields in a record are separated by commas.
If field includes a comma or a new line, the whole field must be surrounded with double quotes.
When the field is in quotes, any quote literals must be escaped by two quotes ("").
Text that comes after quotes that have been closed but come before the next comma will be ignored.
Empty fields are returned as as String of length zero: "". |
ExcelCSVPrinter.java | Class | Print values as a comma separated list that can be read by the
Excel spreadsheet. |
ExecHelper.java | Class | Convenience methods for executing non-Java processes. |
ExecHelperTests.java | Class | Regression test for ExecHelper. |
ExtraCmdLnArgumentException.java | Class | |
FileHelper.java | Class | Utilities for File manipulation. |
IteratorEnumeration.java | Class | Converts an iterator to an enumerator. |
LabeledCSVParser.java | Class | Decorate a CSVParse object to provide an index of field names. |
LabeledCSVParserTests.java | Class | Tests reading files in comma separated value format with a fist line of labels.
author: Campbell, Allen T. |
LineEnds.java | Class | Stream editor to alter the line separators on text to match
that of a given platform. |
MD5.java | Class | MD5 hash generator.
More information about this class is available from ostermiller.org.
This class takes as input a message of arbitrary length and produces
as output a 128-bit "fingerprint" or "message digest" of the input.
It is conjectured that it is computationally infeasible to produce
two messages having the same message digest, or to produce any
message having a given pre-specified target message digest. |
MD5InputStream.java | Class | Implements MD5 functionality on a stream.
More information about this class is available from ostermiller.org.
This class produces a 128-bit "fingerprint" or "message digest" for
all data read from this stream.
It is conjectured that it is computationally infeasible to produce
two messages having the same message digest, or to produce any
message having a given pre-specified target message digest. |
MD5OutputStream.java | Class | Implements MD5 functionality on a stream.
More information about this class is available from ostermiller.org.
This class produces a 128-bit "fingerprint" or "message digest" for
all data written to this stream.
It is conjectured that it is computationally infeasible to produce
two messages having the same message digest, or to produce any
message having a given pre-specified target message digest. |
MD5Tests.java | Class | MD5 regression test. |
MissingCmdLnArgumentException.java | Class | |
NameValuePair.java | Class | Represents a name value pair as would be used as a CGI parameter. |
NoCloseInputStream.java | Class | An input stream with a close method with no effect.
More information about this class is available from ostermiller.org.
This class is designed to wrap a normal input stream
so that it can be passed to methods that read from it
and may erroneously close it. |
NoCloseOutputStream.java | Class | An output stream with a close method with no effect.
More information about this class is available from ostermiller.org.
This class is designed to wrap a normal output stream
so that it can be passed to methods that write to it
and may erroneously close it. |
NoCloseReader.java | Class | A reader which a close method with no effect.
More information about this class is available from ostermiller.org.
This class is designed to wrap a normal reader
so that it can be passed to methods that read from it
and may erroneously close it. |
NoCloseStream.java | Interface | A wrapper for a stream (either input or output)
which has a close method with no effect. |
NoCloseWriter.java | Class | A writer with a close method with no effect.
More information about this class is available from ostermiller.org.
This class is designed to wrap a normal writer
so that it can be passed to methods that write to it
and may erroneously close it. |
Parallelizer.java | Class | Runs multiple jobs in parallel, n threads at a time, and waits
until all threads are complete before continuing.
Typically, Parallelizer would be used to run each of the items-
in a for loop at the same time. |
ParallelizerTests.java | Class | Regression test for Parallelizer. |
PasswordDialog.java | Class | A modal dialog that asks the user for a user name and password. |
PasswordVerifier.java | Interface | Interface to verify passwords. |
PropertiesToken.java | Class | A PropertiesToken is a token that is returned by a lexer that is lexing a Java
Properties file. |
RandPass.java | Class | Generates a random String using a cryptographically
secure random number generator.
The alphabet (characters used in the passwords generated)
may be specified, and the random number generator can be
externally supplied.
Care should be taken when using methods that limit the types
of passwords may be generated. |
RandPassApplet.java | Class | An applet that will let the user generate random passwords. |
SignificantFigures.java | Class | A number with an associated number of significant figures. |
SignificantFiguresTests.java | Class | Significant Figures regression test. |
SizeLimitInputStream.java | Class | An input stream wrapper that will read only a set number of bytes from the
underlying stream. |
SizeLimitInputStreamTests.java | Class | Regression test for SizeLimitInputStreams. |
StraightStreamReader.java | Class | A StraightStreamReader is a bridge from byte streams to character streams: It reads bytes
and translates them into characters without using a character encoding. |
StraightStreamReaderTests.java | Class | Regression test for StraightStreamReader. |
StringHelper.java | Class | Utilities for String formatting, manipulation, and queries. |
StringHelperTests.java | Class | StringHelper regression test. |
StringTokenizer.java | Class | The string tokenizer class allows an application to break a string into
tokens.
More information about this class is available from ostermiller.org.
The tokenization method is much simpler than the one used by the
StreamTokenizer class. |
Tabs.java | Class | Stream editor to alter the line separators on text to match
that of a given platform. |
TokenizerTests.java | Class | A regression test for com.Ostermiller.util.StringTokenizer. |
UberProperties.java | Class | The Properties class represents a persistent set of properties. |
UberPropertiesTests.java | Class | UberProperties regression test. |
UnknownCmdLnOptionException.java | Class | Exception thrown when a command line option that was unexpected is found. |