Top Description Fields Constructors Methods
org.apache.derby.iapi.services.io

public Class RegisteredFormatIds

extends Object
Class Inheritance

Registration of TypedFormat classes.

A TypedFormat is registered by placing a class name at the correct place in the correct array, driven by the base format number:

The offset from the base format number (0 based) gives the offset in the array.

The class name is either:

Field Summary

Modifier and TypeField and Description
private static final String[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

the class name located there
classNameForTwoByteID
(int
Index into TwoByte
idx
)

Return the class name bound to an index into TwoByte

public static int

Returns:

the number of two-byte format ids
countTwoByteIDs
()

Return the number of two-byte format ids

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

TwoByteback to summary
private static final String[] TwoByte

Constructor Detail

RegisteredFormatIdsback to summary
public RegisteredFormatIds()

Method Detail

classNameForTwoByteIDback to summary
public static String classNameForTwoByteID(int idx)

Return the class name bound to an index into TwoByte

Parameters
idx:int

Index into TwoByte

Returns:String

the class name located there

countTwoByteIDsback to summary
public static int countTwoByteIDs()

Return the number of two-byte format ids

Returns:int

the number of two-byte format ids