dk.vajhoej.record
Interface LengthProvider


public interface LengthProvider

Interface IsamSource represents something that can provide length of a field. Note: can only be used with struct fields of field types FIXSTR, FIXSTRNULTERM, PACKEDBCD and ZONEDPBCD.


Method Summary
 int getLength(java.lang.Object o, int n)
          Get length of field.
 

Method Detail

getLength

int getLength(java.lang.Object o,
              int n)
Get length of field.

Parameters:
o - object (not completely initialized for read)
n - field number
Returns:
length