org.archive.util |
|
Java Source File Name | Type | Comment |
AbstractLongFPSet.java | Class | Shell of functionality for a Set of primitive long fingerprints, held
in an array of possibly-empty slots. |
Accumulator.java | Interface | Parameterized interface for a stats-aggregating role. |
ArchiveUtils.java | Class | Miscellaneous useful methods. |
ArchiveUtilsTest.java | Class | |
Base32.java | Class | Base32 - encodes and decodes RFC3548 Base32
(see http://www.faqs.org/rfcs/rfc3548.html )
Imported public-domain code of Bitzi. |
BenchmarkBlooms.java | Class | Simple benchmarking of different BloomFilter
implementations. |
BloomFilter.java | Interface | |
BloomFilter32bit.java | Class | A Bloom filter.
SLIGHTLY ADAPTED VERSION OF MG4J it.unimi.dsi.mg4j.util.BloomFilter
KEY CHANGES:
- Adapted to use 32bit ops as much as possible...
|
BloomFilter32bitSplit.java | Class | A Bloom filter.
SLIGHTLY ADAPTED VERSION OF MG4J it.unimi.dsi.mg4j.util.BloomFilter
KEY CHANGES:
- Adapted to use 32bit ops as much as possible...
|
BloomFilter32bp2.java | Class | A Bloom filter.
SLIGHTLY ADAPTED VERSION OF MG4J it.unimi.dsi.mg4j.util.BloomFilter
KEY CHANGES:
- Adapted to use 32bit ops as much as possible...
|
BloomFilter32bp2Split.java | Class | A Bloom filter.
SLIGHTLY ADAPTED VERSION OF MG4J it.unimi.dsi.mg4j.util.BloomFilter
KEY CHANGES:
- Adapted to use 32bit ops as much as possible...
|
BloomFilter64bit.java | Class | A Bloom filter.
SLIGHTLY ADAPTED VERSION OF MG4J it.unimi.dsi.mg4j.util.BloomFilter
KEY CHANGES:
- NUMBER_OF_WEIGHTS is 2083, to better avoid collisions between
similar strings
- Removed dependence on cern.colt MersenneTwister (replaced with
SecureRandom) and QuickBitVector (replaced with local methods).
- Adapted to allow long bit indices so long as the index/64 (used
an array index in bit vector) fits within Integer.MAX_VALUE
Instances of this class represent a set of character sequences (with false positives)
using a Bloom filter. |
CachedBdbMap.java | Class | A BDB JE backed hashmap. |
CachedBdbMapTest.java | Class | |
DevUtils.java | Class | Write a message and stack trace to the 'org.archive.util.DevUtils' logger. |
DNSJavaUtil.java | Class | Utility methods based on DNSJava. |
FileUtils.java | Class | Utility methods for manipulating files and directories. |
FileUtilsTest.java | Class | |
Histotable.java | Class | Collect and report frequency information. |
HttpRecorder.java | Class | Pairs together a RecordingInputStream and RecordingOutputStream
to capture exactly a single HTTP transaction. |
HttpRecorderMarker.java | Interface | A marker interface to denote a class with a gettable HttpRecorder. |
InetAddressUtil.java | Class | InetAddress utility. |
Inverter.java | Class | A predicate that inverts another. |
IoUtils.java | Class | I/O Utility methods. |
IoUtilsTest.java | Class | |
JavaLiterals.java | Class | Utility functions to escape or unescape Java literal strings. |
JEApplicationMBean.java | Class | JEApplicationMBean is an example of how a JE application can incorporate JE
monitoring into its existing MBean. |
JEMBeanHelper.java | Class | JEMBeanHelper is a utility class for the MBean implementation which wants to
add management of a JE environment to its capabilities. |
JmxUtils.java | Class | Static utility used by JMX. |
JmxUtilsTest.java | Class | |
JndiUtils.java | Class | JNDI utilities. |
LongWrapper.java | Class | Wraps a long. |
LRU.java | Class | A least-recently used cache. |
MimetypeUtils.java | Class | Class of mimetype utilities. |
MimetypeUtilsTest.java | Class | |
OneLineSimpleLogger.java | Class | Logger that writes entry on one line with less verbose date. |
PaddingStringBuffer.java | Class | StringBuffer-like utility which can add spaces to reach a certain column. |
PaddingStringBufferTest.java | Class | |
PatternMatcherRecycler.java | Class | Utility class to retain a compiled Pattern and multiple corresponding
Matcher instances for reuse. |
PreJ15Utils.java | Class | A collection of utility methods doing things that are easier in Java 1.5. |
ProcessUtils.java | Class | Class to run an external process. |
ProgressStatisticsReporter.java | Interface | |
PropertyUtils.java | Class | |
Reporter.java | Interface | |
SubList.java | Class | Universal sublist implementation. |
SURT.java | Class | Sort-friendly URI Reordering Transform.
Converts URIs of the form:
scheme://userinfo@domain.tld:port/path?query#fragment
...into...
scheme://(tld,domain,:port@userinfo)/path?query#fragment
The '(' ')' characters serve as an unambiguous notice that the so-called
'authority' portion of the URI ([userinfo@]host[:port] in http URIs) has
been transformed; the commas prevent confusion with regular hostnames.
This remedies the 'problem' with standard URIs that the host portion of a
regular URI, with its dotted-domains, is actually in reverse order from
the natural hierarchy that's usually helpful for grouping and sorting.
The value of respecting URI case variance is considered negligible: it
is vanishingly rare for case-variance to be meaningful, while URI case-
variance often arises from people's confusion or sloppiness, and they
only correct it insofar as necessary to avoid blatant problems. |
SurtPrefixSet.java | Class | Specialized TreeSet for keeping a set of String prefixes. |
SurtPrefixSetTest.java | Class | |
SURTTest.java | Class | |
TestUtils.java | Class | Utility methods useful in testing situations. |
TextUtils.java | Class | |
TextUtilsTest.java | Class | |
TimestampSerialno.java | Class | Immutable data structure that holds a timestamp and an accompanying
serial number. |
TmpDirTestCase.java | Class | Base class for TestCases that want access to a tmp dir for the writing
of files. |