Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
Z
A
Alignment
- Enum in
dk.vajhoej.record
Enum Alignmente specifies alignment within native struct.
analyze(Class<?>)
- Static method in class dk.vajhoej.record.
StructInfo
Analyze class.
analyze(Class<T>)
- Static method in class dk.vajhoej.record.
StructInfoCache
Convenience method to get StructInfo from cache and analyze class if not in cache.
ArrayField
- Annotation Type in
dk.vajhoej.record
Annotation for arrays.
ASCII
- Static variable in class dk.vajhoej.record.
BCDUtil
ASCII zone nibble.
B
BCDUtil
- Class in
dk.vajhoej.record
Class TimeUtil converts between bytes with Binary Coded Decimals ant BigDecimal objects.
BCDUtil()
- Constructor for class dk.vajhoej.record.
BCDUtil
C
convert(T1)
- Method in interface dk.vajhoej.record.
Util.Transformer
Convert object.
copyAll(Class<T1>, byte[], Class<T2>, Util.Transformer<T1, T2>)
- Static method in class dk.vajhoej.record.
Util
Convert array of struct in bytes into array of struct in bytes.
copyAll(Class<T1>, InputStream, Class<T2>, OutputStream, Util.Transformer<T1, T2>)
- Static method in class dk.vajhoej.record.
Util
Convert array of struct in stream into array of struct in stream.
D
decodePackedBCD(byte[], int)
- Static method in class dk.vajhoej.record.
BCDUtil
Convert from packed BCD to BigDecimal.
decodeZonedBCD(byte[], byte, int)
- Static method in class dk.vajhoej.record.
BCDUtil
Convert from zoned BCD to BigDecimal.
dk.vajhoej
- package dk.vajhoej
Placeholder.
dk.vajhoej.record
- package dk.vajhoej.record
Library for reading and writing binary native structs.
E
EBCDIC
- Static variable in class dk.vajhoej.record.
BCDUtil
EBCDIC zone nibble.
encodePackedBCD(BigDecimal, int, int)
- Static method in class dk.vajhoej.record.
BCDUtil
Convert from BigDecimal to packed BCD.
encodeZonedBCD(BigDecimal, byte, int, int)
- Static method in class dk.vajhoej.record.
BCDUtil
Convert from BigDecimal to zoned BCD.
Endian
- Enum in
dk.vajhoej.record
Enum Endian specifies endianess within native struct.
F
f2s(int)
- Static method in class dk.vajhoej.record.
VAXFloatUtil
FieldInfo
- Class in
dk.vajhoej.record
Class FieldInfo contains information about a native struct field needed for conversions.
FieldInfo(FieldType, int, int, String, byte, Class<?>, Field, Map<Integer, SubClassAndPad>, boolean, int)
- Constructor for class dk.vajhoej.record.
FieldInfo
Create instance of FieldInfo with all necessary properties.
FieldType
- Enum in
dk.vajhoej.record
Enum FieldType specifies native struct types.
fromJavaTime(long)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from long with Java time (milliseconds since 1-Jan-1970) to Date object.
fromUnixTime(int)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from int with Unix time (seconds since 1-Jan-1970) to Date object.
fromVMSTime(long)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from long with VMS time (100 nanoseconds since 17-Nov-1858) to Date object.
G
g2t(long)
- Static method in class dk.vajhoej.record.
VAXFloatUtil
get(Class<?>)
- Method in class dk.vajhoej.record.
StructInfoCache
Get StructInfo from cache.
getAlignment()
- Method in class dk.vajhoej.record.
StructInfo
Get Alignment.
getBytes()
- Method in class dk.vajhoej.record.
StructWriter
Get bytes.
getClassType()
- Method in class dk.vajhoej.record.
FieldInfo
Get Java class type.
getDecimals()
- Method in class dk.vajhoej.record.
FieldInfo
Get decimals of BCD.
getElements()
- Method in class dk.vajhoej.record.
FieldInfo
Get number of elements.
getEncoding()
- Method in class dk.vajhoej.record.
FieldInfo
Get encoding of string.
getEndianess()
- Method in class dk.vajhoej.record.
StructInfo
Get endianess.
getEndpad()
- Method in class dk.vajhoej.record.
StructInfo
Get pad at end.
getField()
- Method in class dk.vajhoej.record.
FieldInfo
Get corresponding reflection object.
getFields()
- Method in class dk.vajhoej.record.
StructInfo
Get fields.
getHitRate()
- Method in class dk.vajhoej.record.
StructInfoCache
Get cache hit rate.
getInstance()
- Static method in class dk.vajhoej.record.
StructInfoCache
Get singleton instance.
getLength()
- Method in class dk.vajhoej.record.
FieldInfo
Get length of fixed length string.
getLength(Object, int)
- Method in interface dk.vajhoej.record.
LengthProvider
Get length of field.
getLength()
- Method in class dk.vajhoej.record.
StructInfo
Get length of fixed length parts of struct.
getPad()
- Method in class dk.vajhoej.record.
SubClassAndPad
Get padding.
getSelectPad()
- Method in class dk.vajhoej.record.
FieldInfo
Get sub class padding to fixed length.
getSelects()
- Method in class dk.vajhoej.record.
FieldInfo
Get sub class selections.
getStructType()
- Method in class dk.vajhoej.record.
FieldInfo
Get native struct type.
getSubClass()
- Method in class dk.vajhoej.record.
SubClassAndPad
Get class.
getZone()
- Method in class dk.vajhoej.record.
FieldInfo
Get zone of zoned BCD.
I
isFixedLength()
- Method in class dk.vajhoej.record.
StructInfo
Is this a fixed length struct.
L
LengthProvider
- Interface in
dk.vajhoej.record
Interface IsamSource represents something that can provide length of a field.
M
more()
- Method in class dk.vajhoej.record.
StructReader
More records available.
P
process(T)
- Method in interface dk.vajhoej.record.
Util.ObjectHandler
Process object.
put(Class<?>, StructInfo)
- Method in class dk.vajhoej.record.
StructInfoCache
Put StructInfo into cache.
R
read(Class<T>)
- Method in class dk.vajhoej.record.
StructReader
Read.
read(Class<T>, LengthProvider)
- Method in class dk.vajhoej.record.
StructReader
Read.
readAll(Class<T>, byte[])
- Static method in class dk.vajhoej.record.
Util
Read array of struct in byte array into list of objects.
readAll(Class<T>, InputStream, List<T>)
- Static method in class dk.vajhoej.record.
Util
Read array of struct in stream into list of objects.
readAll(Class<T>, InputStream, Util.ObjectHandler<T>)
- Static method in class dk.vajhoej.record.
Util
Read array of struct in stream and processes them by handler.
RecordException
- Exception in
dk.vajhoej.record
Class RecordException encapsulates exceptions related to record processing.
RecordException()
- Constructor for exception dk.vajhoej.record.
RecordException
Create instance of RecordException.
RecordException(String, Throwable)
- Constructor for exception dk.vajhoej.record.
RecordException
Create instance of RecordException.
RecordException(String)
- Constructor for exception dk.vajhoej.record.
RecordException
Create instance of RecordException.
RecordException(Throwable)
- Constructor for exception dk.vajhoej.record.
RecordException
Create instance of RecordException.
reset()
- Method in class dk.vajhoej.record.
StructInfoCache
Reset cache.
S
s2f(int)
- Static method in class dk.vajhoej.record.
VAXFloatUtil
Selector
- Annotation Type in
dk.vajhoej.record
Annotation for selection of sub types.
Struct
- Annotation Type in
dk.vajhoej.record
Annotation for structs.
StructField
- Annotation Type in
dk.vajhoej.record
Annotation for fields.
StructInfo
- Class in
dk.vajhoej.record
Class StructInfo contains information about a native struct needed for reading and/or writing.
StructInfo(Endian, Alignment, boolean, List<FieldInfo>, Class<?>)
- Constructor for class dk.vajhoej.record.
StructInfo
Create instance of StructInfo.
StructInfoCache
- Class in
dk.vajhoej.record
Class StructInfoCache caches StructInfo objects in a singleton cache.
StructReader
- Class in
dk.vajhoej.record
Class StructReader reads a Java object from a byte array containing a native struct.
StructReader(byte[])
- Constructor for class dk.vajhoej.record.
StructReader
Create instance of StructReader.
StructWriter
- Class in
dk.vajhoej.record
Class StructWriter writes a Java object to a byte array as a native struct.
StructWriter()
- Constructor for class dk.vajhoej.record.
StructWriter
Construct instance of StructWriter with default buffer size.
StructWriter(int)
- Constructor for class dk.vajhoej.record.
StructWriter
Construct instance of StructWriter.
SubClassAndPad
- Class in
dk.vajhoej.record
Class SubClassAndPad contains information about class and padding for select field.
SubClassAndPad(Class<?>, int)
- Constructor for class dk.vajhoej.record.
SubClassAndPad
Create instance of ClassAndPad with all necessary properties.
SubType
- Annotation Type in
dk.vajhoej.record
Annotation for sub types.
T
t2g(long)
- Static method in class dk.vajhoej.record.
VAXFloatUtil
TimeUtil
- Class in
dk.vajhoej.record
Class TimeUtil converts between integers in various time formats and Date objects.
TimeUtil()
- Constructor for class dk.vajhoej.record.
TimeUtil
toJavaTime(Date)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from Date object to long with Java time (milliseconds since 1-Jan-1970).
toUnixTime(Date)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from Date object to int with Unix time (seconds since 1-Jan-1970).
toVMSTime(Date)
- Static method in class dk.vajhoej.record.
TimeUtil
Convert from Date object to long with VMS time (100 nanoseconds since 17-Nov-1858).
U
Util
- Class in
dk.vajhoej.record
Utility class to process lists and to work with files instead of byte arrays.
Util()
- Constructor for class dk.vajhoej.record.
Util
Util.ObjectHandler
<
T
> - Interface in
dk.vajhoej.record
Interface for processing objects read.
Util.Transformer
<
T1
,
T2
> - Interface in
dk.vajhoej.record
Interface for converting objects read.
V
valueOf(String)
- Static method in enum dk.vajhoej.record.
Alignment
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum dk.vajhoej.record.
Endian
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum dk.vajhoej.record.
FieldType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum dk.vajhoej.record.
Alignment
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum dk.vajhoej.record.
Endian
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum dk.vajhoej.record.
FieldType
Returns an array containing the constants of this enum type, in the order they are declared.
VAXFloatUtil
- Class in
dk.vajhoej.record
Class VAXFloatUtil converts between VAX floating point and IEEE floating point.
VAXFloatUtil()
- Constructor for class dk.vajhoej.record.
VAXFloatUtil
W
write(Object)
- Method in class dk.vajhoej.record.
StructWriter
Write.
write(Object, LengthProvider)
- Method in class dk.vajhoej.record.
StructWriter
Write.
writeAll(Class<T>, List<T>)
- Static method in class dk.vajhoej.record.
Util
Write list of objects into array of struct in byte array.
writeAll(Class<T>, List<T>, OutputStream)
- Static method in class dk.vajhoej.record.
Util
Write list of objects into array of struct in stream.
Z
ZERO
- Static variable in class dk.vajhoej.record.
BCDUtil
Zero zone nibble.
A
B
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
Z
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes