Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
N
O
P
R
S
T
U
V
W
A
AlphaNumeric
- class net.sf.cb2java.copybook.
AlphaNumeric
.
Class used to represent alpha and alphanumeric data types
AlphaNumeric(String, int, int, String)
- Constructor for class net.sf.cb2java.copybook.
AlphaNumeric
add(byte[], int)
- Method in class net.sf.cb2java.copybook.
Copybook.ByteBuffer
B
BINARY
- Static variable in class net.sf.cb2java.copybook.
Usage
Binary
- class net.sf.cb2java.copybook.
Binary
.
class that represents binary data types
Binary(String, int, int, String)
- Constructor for class net.sf.cb2java.copybook.
Binary
Binary.Native
- class net.sf.cb2java.copybook.
Binary.Native
.
Binary.Native(String, int, int, String)
- Constructor for class net.sf.cb2java.copybook.
Binary.Native
bytes
- Variable in class net.sf.cb2java.copybook.floating.
Conversion.Precision
C
COMPUTATIONAL
- Static variable in class net.sf.cb2java.copybook.
Usage
COMPUTATIONAL_1
- Static variable in class net.sf.cb2java.copybook.
Usage
COMPUTATIONAL_2
- Static variable in class net.sf.cb2java.copybook.
Usage
COMPUTATIONAL_3
- Static variable in class net.sf.cb2java.copybook.
Usage
COMPUTATIONAL_4
- Static variable in class net.sf.cb2java.copybook.
Usage
COMPUTATIONAL_5
- Static variable in class net.sf.cb2java.copybook.
Usage
CharData
- class net.sf.cb2java.copybook.data.
CharData
.
Represents data for alpanumeric data types
CharData(AlphaNumeric)
- Constructor for class net.sf.cb2java.copybook.data.
CharData
CobolPreprocessor
- class net.sf.cb2java.copybook.
CobolPreprocessor
.
Very simple COBOL pre-processor that chops the left and right margins.
CobolPreprocessor()
- Constructor for class net.sf.cb2java.copybook.
CobolPreprocessor
Conversion
- interface net.sf.cb2java.copybook.floating.
Conversion
.
Conversion.Precision
- class net.sf.cb2java.copybook.floating.
Conversion.Precision
.
Copybook
- class net.sf.cb2java.copybook.
Copybook
.
Represents a copybook data definition in memory
Copybook.ByteBuffer
- class net.sf.cb2java.copybook.
Copybook.ByteBuffer
.
a helper class for buffering the data as it is processed
Copybook.ByteBuffer()
- Constructor for class net.sf.cb2java.copybook.
Copybook.ByteBuffer
CopybookParser
- class net.sf.cb2java.copybook.
CopybookParser
.
This class is the starting point for parsing copybooks
CopybookParser()
- Constructor for class net.sf.cb2java.copybook.
CopybookParser
createEx(BigDecimal, String)
- Method in class net.sf.cb2java.copybook.
Numeric
createEx(BigDecimal, String, Throwable)
- Method in class net.sf.cb2java.copybook.
Numeric
createNew()
- Method in class net.sf.cb2java.copybook.
Copybook
creates a new empty application data instance
D
DEFAULT_ENCODING
- Static variable in class net.sf.cb2java.copybook.
Copybook
DEFAULT_FLOAT_CONVERSION
- Static variable in class net.sf.cb2java.copybook.
Copybook
DEFAULT_LITTLE_ENDIAN
- Static variable in class net.sf.cb2java.copybook.
Copybook
DISPLAY_1
- Static variable in class net.sf.cb2java.copybook.
Usage
DOUBLE
- Static variable in interface net.sf.cb2java.copybook.floating.
Conversion
Data
- class net.sf.cb2java.copybook.data.
Data
.
The base type for all Data elements
Data(Element)
- Constructor for class net.sf.cb2java.copybook.data.
Data
constructor
Decimal
- class net.sf.cb2java.copybook.
Decimal
.
class that represents decimal (zoned) data types
DecimalData
- class net.sf.cb2java.copybook.data.
DecimalData
.
DecimalData(Numeric)
- Constructor for class net.sf.cb2java.copybook.data.
DecimalData
data
- Variable in class net.sf.cb2java.copybook.data.
DecimalData
data
- Variable in class net.sf.cb2java.copybook.data.
IntegerData
decimalPlaces()
- Method in class net.sf.cb2java.copybook.
Numeric
digits()
- Method in class net.sf.cb2java.copybook.
Binary
digits()
- Method in class net.sf.cb2java.copybook.
Decimal
digits()
- Method in class net.sf.cb2java.copybook.
Numeric
digits()
- Method in class net.sf.cb2java.copybook.
Packed
digits()
- Method in class net.sf.cb2java.copybook.
SignedSeparate
E
EMPTY_BYTES
- Static variable in class net.sf.cb2java.copybook.
Value
Element
- class net.sf.cb2java.copybook.
Element
.
base class for types represented in the copybook
Element(String, int, int)
- Constructor for class net.sf.cb2java.copybook.
Element
constructor
F
FUNCTION_POINTER
- Static variable in class net.sf.cb2java.copybook.
Usage
Floating
- class net.sf.cb2java.copybook.
Floating
.
Floating(String, int, int, Conversion.Precision)
- Constructor for class net.sf.cb2java.copybook.
Floating
FloatingData
- class net.sf.cb2java.copybook.data.
FloatingData
.
Floating point representations are hardware specific so the precision that is supported by the underlying type may vary from platform to platform.
FloatingData(Floating)
- Constructor for class net.sf.cb2java.copybook.data.
FloatingData
constructor
fill(InputStream)
- Method in class net.sf.cb2java.copybook.
Copybook.ByteBuffer
fill(int)
- Method in class net.sf.cb2java.copybook.
Value
fill(byte[], int, Value.Side)
- Method in class net.sf.cb2java.copybook.
Value
fillString(int)
- Method in class net.sf.cb2java.copybook.
Value
fillString(String, int, Value.Side)
- Method in class net.sf.cb2java.copybook.
Value
fromBytes(byte[], Conversion.Precision)
- Method in interface net.sf.cb2java.copybook.floating.
Conversion
fromBytes(byte[], Conversion.Precision)
- Method in class net.sf.cb2java.copybook.floating.
IEEE754
G
Group
- class net.sf.cb2java.copybook.
Group
.
GroupData
- class net.sf.cb2java.copybook.data.
GroupData
.
GroupData(Group, List)
- Constructor for class net.sf.cb2java.copybook.data.
GroupData
get()
- Method in class net.sf.cb2java.copybook.
Copybook.ByteBuffer
getAliased(String)
- Method in class net.sf.cb2java.copybook.
Copybook
Gets an aliased element.
getBigDecimal()
- Method in class net.sf.cb2java.copybook.data.
DecimalData
getBigDecimal()
- Method in class net.sf.cb2java.copybook.data.
FloatingData
gets the big decimal representation of the value
getBigInteger()
- Method in class net.sf.cb2java.copybook.data.
IntegerData
getByte()
- Method in class net.sf.cb2java.copybook.
Value
getBytes(String)
- Method in class net.sf.cb2java.copybook.
Element
converts a String to a byte array based on the current encoding
getChild(String)
- Method in class net.sf.cb2java.copybook.data.
GroupData
returns the first child with the specified name irrespective of case
getChildren()
- Method in class net.sf.cb2java.copybook.
Element
gets the children of this element or null if there are none
getChildren()
- Method in class net.sf.cb2java.copybook.
Group
getChildren()
- Method in class net.sf.cb2java.copybook.data.
Data
returns all the children of this item, if there are any
getChildren()
- Method in class net.sf.cb2java.copybook.data.
GroupData
returns a immutable collection of children
getChildren()
- Method in class net.sf.cb2java.copybook.data.
ValueData
getDefinition()
- Method in class net.sf.cb2java.copybook.data.
Data
the underlying type definition of the element
getDouble()
- Method in class net.sf.cb2java.copybook.data.
DecimalData
getDouble()
- Method in class net.sf.cb2java.copybook.data.
FloatingData
returns the internal data as a BigDecimal
getEncoding()
- Method in class net.sf.cb2java.copybook.
Copybook
retrieves the current encoding for the copybook
getFloat()
- Method in class net.sf.cb2java.copybook.data.
DecimalData
getFloat()
- Method in class net.sf.cb2java.copybook.data.
FloatingData
returns the internal data as a BigDecimal
getFloatConversion()
- Method in class net.sf.cb2java.copybook.
Copybook
getFormatObject()
- Method in class net.sf.cb2java.copybook.
Numeric
getInt()
- Method in class net.sf.cb2java.copybook.data.
IntegerData
getLength()
- Method in class net.sf.cb2java.copybook.
AlphaNumeric
getLength(int)
- Static method in class net.sf.cb2java.copybook.
Binary
getLength()
- Method in class net.sf.cb2java.copybook.
Binary
getLength()
- Method in class net.sf.cb2java.copybook.
Element
returns the length of one instance of this element
getLength()
- Method in class net.sf.cb2java.copybook.
Floating
getLength()
- Method in class net.sf.cb2java.copybook.
Group
getLength()
- Method in class net.sf.cb2java.copybook.
Numeric
getLength(int)
- Static method in class net.sf.cb2java.copybook.
Packed
getLength()
- Method in class net.sf.cb2java.copybook.
Packed
getLevel()
- Method in class net.sf.cb2java.copybook.
Element
returns the level of this element
getLittleEndian()
- Method in class net.sf.cb2java.copybook.
Copybook
getLong()
- Method in class net.sf.cb2java.copybook.data.
IntegerData
getName()
- Method in class net.sf.cb2java.copybook.
Element
returns the name of this element
getName()
- Method in class net.sf.cb2java.copybook.data.
Data
returns the name of the type that defines this element
getOccurs()
- Method in class net.sf.cb2java.copybook.
Element
returns the number of times this item appears in data
getPattern()
- Method in class net.sf.cb2java.copybook.
AlphaNumeric
getPosition()
- Method in class net.sf.cb2java.copybook.
Element
returns the position of this element
getString(byte[])
- Method in class net.sf.cb2java.copybook.
Element
helper method for converting the given bytes to a string with the parent copybook's encoding
getString()
- Method in class net.sf.cb2java.copybook.data.
CharData
getUnscaled(Object)
- Method in class net.sf.cb2java.copybook.
Numeric
getValue()
- Method in class net.sf.cb2java.copybook.
AlphaNumeric
getValue()
- Method in class net.sf.cb2java.copybook.
Element
the value for this element
getValue()
- Method in class net.sf.cb2java.copybook.
Floating
getValue()
- Method in class net.sf.cb2java.copybook.
Group
getValue()
- Method in class net.sf.cb2java.copybook.
Numeric
getValue()
- Method in class net.sf.cb2java.copybook.data.
CharData
getValue()
- Method in class net.sf.cb2java.copybook.data.
Data
returns the Object as it's 'natural' Java type
getValue()
- Method in class net.sf.cb2java.copybook.data.
DecimalData
getValue()
- Method in class net.sf.cb2java.copybook.data.
FloatingData
returns the internal data as a BigDecimal
getValue()
- Method in class net.sf.cb2java.copybook.data.
GroupData
returns the children of this item
getValue()
- Method in class net.sf.cb2java.copybook.data.
IntegerData
I
IEEE754
- class net.sf.cb2java.copybook.floating.
IEEE754
.
IEEE754()
- Constructor for class net.sf.cb2java.copybook.floating.
IEEE754
INDEX
- Static variable in class net.sf.cb2java.copybook.
Usage
IntegerData
- class net.sf.cb2java.copybook.data.
IntegerData
.
class that represents numeric data with no fraction portion
IntegerData(Numeric)
- Constructor for class net.sf.cb2java.copybook.data.
IntegerData
isLeaf()
- Method in class net.sf.cb2java.copybook.data.
Data
Returns whether this element is a leaf element.
isLeaf()
- Method in class net.sf.cb2java.copybook.data.
GroupData
isLeaf()
- Method in class net.sf.cb2java.copybook.data.
ValueData
L
LEADING
- Static variable in class net.sf.cb2java.copybook.
SignedSeparate
LEFT
- Static variable in class net.sf.cb2java.copybook.
Value
N
NATIONAL
- Static variable in class net.sf.cb2java.copybook.
Usage
Numeric
- class net.sf.cb2java.copybook.
Numeric
.
NumericData
- class net.sf.cb2java.copybook.data.
NumericData
.
net.sf.cb2java.copybook
- package net.sf.cb2java.copybook
net.sf.cb2java.copybook.data
- package net.sf.cb2java.copybook.data
net.sf.cb2java.copybook.floating
- package net.sf.cb2java.copybook.floating
O
OBJECT_REFERENCE
- Static variable in class net.sf.cb2java.copybook.
Usage
P
PACKED_DECIMAL
- Static variable in class net.sf.cb2java.copybook.
Usage
POINTER
- Static variable in class net.sf.cb2java.copybook.
Usage
PROCEDURE_POINTER
- Static variable in class net.sf.cb2java.copybook.
Usage
Packed
- class net.sf.cb2java.copybook.
Packed
.
Packed(String, int, int, String)
- Constructor for class net.sf.cb2java.copybook.
Packed
parse(String, InputStream)
- Static method in class net.sf.cb2java.copybook.
CopybookParser
Parses a copybook defintion and returns a Copybook instance
parse(String, Reader)
- Static method in class net.sf.cb2java.copybook.
CopybookParser
Parses a copybook defintion and returns a Copybook instance
parseData(byte[])
- Method in class net.sf.cb2java.copybook.
Copybook
creates a new application data element with the given data
parseData(InputStream)
- Method in class net.sf.cb2java.copybook.
Copybook
creates a new application data element with the given data
preProcess(Reader)
- Static method in class net.sf.cb2java.copybook.
CobolPreprocessor
R
RIGHT
- Static variable in class net.sf.cb2java.copybook.
Value
Record
- class net.sf.cb2java.copybook.data.
Record
.
Record(String, GroupData)
- Constructor for class net.sf.cb2java.copybook.data.
Record
reverse(byte[])
- Static method in class net.sf.cb2java.copybook.
Binary
S
SINGLE
- Static variable in interface net.sf.cb2java.copybook.floating.
Conversion
SignedSeparate
- class net.sf.cb2java.copybook.
SignedSeparate
.
SignedSeparate.Position
- class net.sf.cb2java.copybook.
SignedSeparate.Position
.
setEncoding(String)
- Method in class net.sf.cb2java.copybook.
Copybook
Sets the encoding for the copybook instance, used for parsing and writing of data
setFloatConversion(String)
- Method in class net.sf.cb2java.copybook.
Copybook
setLittleEndian(boolean)
- Method in class net.sf.cb2java.copybook.
Copybook
setRoundingMode(int)
- Method in class net.sf.cb2java.copybook.data.
DecimalData
setValue(String)
- Method in class net.sf.cb2java.copybook.
Group
setValue(Value)
- Method in class net.sf.cb2java.copybook.
Group
setValue(Object)
- Method in class net.sf.cb2java.copybook.data.
Data
Sets the internal value of this item.
setValue(String)
- Method in class net.sf.cb2java.copybook.data.
Data
sets the value from an input String.
setValue(double)
- Method in class net.sf.cb2java.copybook.data.
DecimalData
sets the value of this data object with the given floating point number.
setValue(BigDecimal)
- Method in class net.sf.cb2java.copybook.data.
DecimalData
setValue(BigDecimal, boolean)
- Method in class net.sf.cb2java.copybook.data.
DecimalData
setValue(BigDecimal)
- Method in class net.sf.cb2java.copybook.data.
FloatingData
setValue(long)
- Method in class net.sf.cb2java.copybook.data.
IntegerData
setValue(BigInteger)
- Method in class net.sf.cb2java.copybook.data.
IntegerData
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
CharData
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
Data
called by setData after validate is called
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
DecimalData
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
FloatingData
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
GroupData
not supported
setValueImpl(Object)
- Method in class net.sf.cb2java.copybook.data.
IntegerData
signPosition()
- Method in class net.sf.cb2java.copybook.
SignedSeparate
signed()
- Method in class net.sf.cb2java.copybook.
Numeric
T
TRAILING
- Static variable in class net.sf.cb2java.copybook.
SignedSeparate
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
AlphaNumeric
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Binary.Native
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Binary
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Decimal
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Element
converts the supplied data to bytes
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Floating
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Group
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
Packed
toBytes(Object)
- Method in class net.sf.cb2java.copybook.
SignedSeparate
toBytes(BigDecimal, Conversion.Precision)
- Method in interface net.sf.cb2java.copybook.floating.
Conversion
toBytes(BigDecimal, Conversion.Precision)
- Method in class net.sf.cb2java.copybook.floating.
IEEE754
toString()
- Method in class net.sf.cb2java.copybook.
Element
toString()
- Method in class net.sf.cb2java.copybook.
Group
toString()
- Method in class net.sf.cb2java.copybook.data.
CharData
toString(String)
- Method in class net.sf.cb2java.copybook.data.
Data
gives a string representation of this element with the given indention
toString()
- Method in class net.sf.cb2java.copybook.data.
FloatingData
toString()
- Method in class net.sf.cb2java.copybook.data.
GroupData
toString(String)
- Method in class net.sf.cb2java.copybook.data.
GroupData
toString()
- Method in class net.sf.cb2java.copybook.data.
NumericData
toString()
- Method in class net.sf.cb2java.copybook.data.
ValueData
toString(String)
- Method in class net.sf.cb2java.copybook.data.
ValueData
translate(String)
- Method in class net.sf.cb2java.copybook.data.
CharData
Does no conversion.
translate(String)
- Method in class net.sf.cb2java.copybook.data.
Data
Converts the String to the underlying Data type's 'natural' type.
translate(String)
- Method in class net.sf.cb2java.copybook.data.
FloatingData
translate(String)
- Method in class net.sf.cb2java.copybook.data.
GroupData
translate(String)
- Method in class net.sf.cb2java.copybook.data.
NumericData
U
Usage
- class net.sf.cb2java.copybook.
Usage
.
V
Value
- class net.sf.cb2java.copybook.
Value
.
ValueData
- class net.sf.cb2java.copybook.data.
ValueData
.
ValueData(Element)
- Constructor for class net.sf.cb2java.copybook.data.
ValueData
validate(Object)
- Method in class net.sf.cb2java.copybook.
AlphaNumeric
validate(Object)
- Method in class net.sf.cb2java.copybook.
Element
validates the data based on this element definition
validate(Object)
- Method in class net.sf.cb2java.copybook.
Floating
validate(Object)
- Method in class net.sf.cb2java.copybook.
Group
validate(Object)
- Method in class net.sf.cb2java.copybook.
Numeric
validates the data with the given decimal (printed) length constraint.
validate(Object)
- Method in class net.sf.cb2java.copybook.data.
Data
Validates the data passed in using the underlying definition
validate(BigDecimal, Conversion.Precision)
- Method in interface net.sf.cb2java.copybook.floating.
Conversion
validate(BigDecimal, Conversion.Precision)
- Method in class net.sf.cb2java.copybook.floating.
IEEE754
values
- Variable in class net.sf.cb2java.copybook.
Copybook
W
write(OutputStream, Object)
- Method in class net.sf.cb2java.copybook.
Element
writes the data as bytes to the given stream
write(OutputStream)
- Method in class net.sf.cb2java.copybook.data.
Data
writes this Data instance to the stream as COBOL application data.
write(OutputStream)
- Method in class net.sf.cb2java.copybook.data.
GroupData
A
B
C
D
E
F
G
I
L
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes