Package org.fudgemsg

The core API for working with Fudge encoded data.

See:
          Description

Interface Summary
FudgeField A single field in the Fudge system.
FudgeFieldContainer A container of Fudge fields providing simple access to principal types.
FudgeMessageFactory A factory for Fudge messages.
FudgeStreamReader Abstract interface for reading Fudge elements from a source.
FudgeStreamWriter Abstract interface for writing Fudge elements to a target.
ImmutableFudgeFieldContainer A container of Fudge fields that should be effectively immutable.
MutableFudgeFieldContainer A container of Fudge fields that can be mutated.
 

Class Summary
AlternativeFudgeStreamWriter Abstract implementation of a FudgeStreamWriter that detects major state changes and invokes other methods.
ClasspathUtilities A collection of utilities for automatically populating Fudge contexts based on classpath scanning.
FudgeContext The primary entry-point for code to interact with the rest of the Fudge system.
FudgeContextConfiguration Abstraction of FudgeContext customization operations, such as registering user defined types or a specific taxonomy resolver.
FudgeDataInputStreamReader An implementation of FudgeStreamReader for consuming data from a DataInput.
FudgeDataOutputStreamWriter Implementation of a FudgeStreamWriter that writes to a DataOutput.
FudgeFieldPrefixCodec Utility to manage the one byte field prefix.
FudgeFieldType<T> The type of a field as defined by Fudge.
FudgeMsg A mutable message in the Fudge system.
FudgeMsgBase Standard implementation of FudgeFieldContainer.
FudgeMsgEnvelope An envelope enclosing the top message in the Fudge system.
FudgeMsgField A single immutable field in the Fudge system.
FudgeMsgFormatter Tool to pretty-print a Fudge message.
FudgeMsgReader A reader for returning whole Fudge messages (FudgeFieldContainer instances) from an underlying FudgeStreamReader instance.
FudgeMsgWriter A writer for passing Fudge messages (FudgeFieldContainer instances) to an underlying FudgeStreamWriter instance.
FudgeSize Utility for calculating the size of a Fudge message.
FudgeTypeDictionary The dictionary of all known Fudge types.
ImmutableFudgeContext Immutable wrapper for a FudgeContext that will be used for the global "default", or for use with ImmutableFudgeMsg.
ImmutableFudgeMsg An immutable message in the Fudge system.
ModifiedUTF8Util Deprecated.
UnknownFudgeFieldValue A container to store a variable-sized field with a type that the current installation of Fudge cannot handle on decoding.
UTF8 Utility to manage UTF-8 encoding.
 

Enum Summary
FudgeStreamReader.FudgeStreamElement Constants for the four stream element types as returned by FudgeStreamReader.next() and FudgeStreamReader.getCurrentElement().
 

Exception Summary
FudgeRuntimeException A Fudge-specific runtime exception to wrap checked exception.
FudgeRuntimeIOException A Fudge-specific IO exception to wrap the checked IOException.
 

Package org.fudgemsg Description

The core API for working with Fudge encoded data.

In general, most applications will start with an instance of FudgeContext, and use that to read, write, and persist instances of FudgeFieldContainer using the reader and writer classes.

Applications requiring serialization of more complex Java objects and automated support for encoding objects to/from Fudge messages should use the org.fudgemsg.mapping package.



Copyright 2009-Present by OpenGamma Inc. and individual contributors
Released under the Apache License, Version 2.0