org.mmbase.util |
|
Java Source File Name | Type | Comment |
ApplicationContextReader.java | Class | |
BuilderList.java | Class | Gives an xml-representation of a dir structure with builders
Used by the build script to create documentation for builders. |
Casting.java | Class | |
ChainedIterator.java | Class | Like org.apache.commons.collections.iterators.IteratorChain, to avoid the dependency.... |
ChainedList.java | Class | Simple utility to chain several lists into a new one. |
CloseableIterator.java | Interface | An iterator which may need closing (e.g. |
CVSReader.java | Class | Class for reading and parsing the contents of a CVS (comma value seperated) file. |
DateFormats.java | Class | Utility function to create DateFormat instances. |
DateStrings.java | Class | The DateString class provides constant text strings for the weekday, month etc. |
DateSupport.java | Class | Some routines to support dates better
The problem that generally occurs is with timezones. |
DijkstraSemaphore.java | Class | Also called counting semaphores, Dijkstra semaphores are used to control access to
a set of resources. |
DynamicDate.java | Class | A DynamicDate is a Date object that has no fixed value, like 'now'. |
Encode.java | Class | Class to convert from/to a string (byte[]) from/to a encoded string (byte[])
Supported encodings are at this moment:
- BASE64
- HEX
- ESCAPE_XML
- ESCAPE_HTML
- ESCAPE_HTML_ATTRIBUTE
- ESCAPE_WML
- ESCAPE_WML_ATTRIBUTE
- ESCAPE_URL
- ESCAPE_URL_PARAM
- ESCAPE_SINGLE_QUOTE
A list of supported encodings can be gotten by java
org.mmbase.util.Encode, and you add your own encodings by calling
the static function 'register' of this class. |
EncodingDetectingOutputStreamWriter.java | Class | Like
java.io.OutputStreamWriter but it tries to autodetect the encoding of the
OutputStream. |
Entry.java | Class | Represents a pair of values ('key' and a 'value'). |
Escape.java | Class | Class for escaping single quotes in a string, so that they can be safely
included in a SQL statement. |
ExprCalc.java | Class | Class to calculate expressions. |
ExtendedProperties.java | Class | This is a flexible Properties version, it can handle saving of Properties with
the comments that will stay in your file. |
FileWatcher.java | Class | Original javadoc.
This will run as a thread after it has been started.
It will check every interval if one of it's files has been changed.
When one of them has been changed, the onChange method will be called, with the file that
was changed. |
GenericResponseWrapper.java | Class | Wrapper around the response. |
HashCodeUtil.java | Class | http://www.macchiato.com/columns/Durable6.html
Hash Collections (HashSet, HashMap, Hashtable, etc) are typically implemented with an array of buckets.
Each bucket is itself an array or linked list of pairs. |
IECompatibleJpegInputStream.java | Class | IECompatibleJpegInputStream removes additional information left by PhotoShop 7 in jpegs
, this information may crash Internet Exploder. |
LinkMap.java | Class | Combines to Maps to one new map. |
LocalizedEntryListFactory.java | Class | These factories can produce Collections based on a Locale (The
LocalizedEntryListFactory.get method is
essential). |
LocalizedString.java | Class |
A String which is localized. |
LRUHashtable.java | Class | A hashtable which has a maximum of entries. |
NodeComparator.java | Class | This class implements the Comparator interface for comparing MMObjectNodes. |
PageInfo.java | Class | The PageInfo is a container class. |
PasswordGenerator.java | Class | Module for the automatic generation of passwords.
Based on the code of Arnold G. |
PasswordGeneratorInterface.java | Interface | Interface for the automatic generation of passwords. |
PublicCloneable.java | Interface | The java interface
java.lang.Cloneable has no public methods. |
QueryConvertor.java | Class | Class for the converion of a expression string to a SQL where clause.
The expressions string is expected to be in 'altavista' format.
This means that logical operators are identified by '+' (AND), '-' (NOT),
and '|' (OR).
Comparative operators are the same as those used in SCAN (i.e. |
RandomPool.java | Class | Class for holding a pool of random numbers. |
ReaderInputStream.java | Class | Oddly enough, Java does not provide this itself. |
RelativeTime.java | Class | This util class contains several methods and constants to manipulate relative time values. |
ReplacingLocalizedString.java | Class | Extends and wraps LocalizedString. |
ResourceLoader.java | Class | MMBase resource loader, for loading config-files and those kind of things. |
ResourceWatcher.java | Class | Like
org.mmbase.util.FileWatcher but for Resources. |
ReverseComparator.java | Class | The comparator which sorts Comparable on the inverse natural order. |
SizeMeasurable.java | Interface |
The
SizeOf class tries to determine the size of memory structures.
This is tried by reflection and so on, but if an object is
'SizeMeasurable' then it is asked to the object directly.
So, if your object stores its bulk in private members, and you want
its size to be determined adequately, then you should let it
implement this interface.
If you did not implement a class yourself, but have a clue how to
guess the size anyhow, then you could also put this implementation
in SizeOf itself (as for example was done for String). |
SizeOf.java | Class |
Implementation of 'sizeof'. |
Sortable.java | Interface | Interface to sort objects. |
SortedBundle.java | Class | A bit like
java.util.ResourceBundle (on which it is based), but it creates
SortedMap's. |
SPartFileFilter.java | Class | Support utility for MMObjectBuilder.getSMartPath
This filter filters files with the specified
number in its name. |
StringBufferWriter.java | Class | Oddly enough, Java does not provide this itself. |
StringBuilderWriter.java | Class | Oddly enough, Java does not provide this itself. |
StringObject.java | Class | This Class is a growable buffer for characters.
It is mainly used to create Strings. |
StringSplitter.java | Class | Utility class for splitting delimited values. |
StringTagger.java | Class | StringTagger, Creates a object with tags and fields from a String. |
Strip.java | Class | Class to strip characters from the beginning and end of strings.
Example1: Strip.Char("..dfld..",'.',Strip.TRAILING) yields "..dlfd."
Example2: Strip.Chars("..dfld..",".",Strip.TRAILING) yields "..dlfd"
Example3: Strip.Chars(". |
ThreadPools.java | Class | |
UriParser.java | Class | For an important part stolen from jakarta vfs (only one function). |
WrappedLocalizedString.java | Class | Extends and wraps LocalizedString. |
WriterOutputStream.java | Class | Oddly enough, Java does not provide this itself. |
XMLBasicReader.java | Class | XMLBasicReader has two goals. |
XMLContextDepthReader.java | Class | Reads a contextdepth type of application export configuration file. |
XMLEntityResolver.java | Class | |
XMLErrorHandler.java | Class | |
XMLNodeReader.java | Class | This class reads a node from an exported application. |
XMLRelationNodeReader.java | Class | This class reads a relation node from an exported application. |
XSLTransformer.java | Class | |