iso8211 0-1-0 by Weft

uk.co.weft.iso8211
Class ISO8211

java.lang.Object
  |
  +--uk.co.weft.iso8211.ISO8211

public abstract class ISO8211
extends java.lang.Object

various constants and primitives for manipulating ISO8211 data, all static

Version:
$Revision: 1.2 $ This revision: $Author: simon $
  $Log: ISO8211.java,v $
  Revision 1.2  2002/11/02 00:09:16  simon
  Promising, but still not there. Problems include not correctly finding
  the start of the next record.

  Revision 1.1.1.1  2002/10/29 11:27:33  simon
  More or less parses


  
Author:
Simon Brooke (simon@jasmine.org.uk)

Field Summary
static int DATA_ID
          (?) 'D' is a valid ID but I don't yet know what it signifies; 'DATA' is a guess
static int DDR_ID
          ID code for the DDR leader
static int ENDMARK
          circumflex - apparently used as an eof marker (?)
static int ESCAPE
          escape
static int FIELD_TERMINATOR
          the field terminator charactor
static int REC_ID
          (?) 'R' is a valid ID but I don't yet know what it signifies; 'REC' is a guess
static int SPACE
          space
static char SUBTYPE_COMPLEX
           
static char SUBTYPE_FIXED_POINT
           
static char SUBTYPE_FLOAT_POINT
           
static char SUBTYPE_INVALID
          this one isn't in the ISO 8211 spec but serves as a marker that we haven't found a valid value
static char SUBTYPE_SIGNED_INT
           
static char SUBTYPE_UNSIGNED_INT
          binary data sub-types
static int UNIT_TERMINATOR
          unit terminator charactor
static int V0
           
static int V1
           
 
Constructor Summary
ISO8211()
           
 
Method Summary
static boolean isValidRecordName(java.lang.Object name)
           
static void whinge(java.lang.Exception error, long position)
          Print as much detail as possible about this error on the stadard error stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ESCAPE

public static final int ESCAPE
escape

FIELD_TERMINATOR

public static final int FIELD_TERMINATOR
the field terminator charactor

UNIT_TERMINATOR

public static final int UNIT_TERMINATOR
unit terminator charactor

SPACE

public static final int SPACE
space

ENDMARK

public static final int ENDMARK
circumflex - apparently used as an eof marker (?)

DDR_ID

public static final int DDR_ID
ID code for the DDR leader

DATA_ID

public static final int DATA_ID
(?) 'D' is a valid ID but I don't yet know what it signifies; 'DATA' is a guess

REC_ID

public static final int REC_ID
(?) 'R' is a valid ID but I don't yet know what it signifies; 'REC' is a guess

V0

public static final int V0

V1

public static final int V1

SUBTYPE_UNSIGNED_INT

public static final char SUBTYPE_UNSIGNED_INT
binary data sub-types

SUBTYPE_SIGNED_INT

public static final char SUBTYPE_SIGNED_INT

SUBTYPE_FIXED_POINT

public static final char SUBTYPE_FIXED_POINT

SUBTYPE_FLOAT_POINT

public static final char SUBTYPE_FLOAT_POINT

SUBTYPE_COMPLEX

public static final char SUBTYPE_COMPLEX

SUBTYPE_INVALID

public static final char SUBTYPE_INVALID
this one isn't in the ISO 8211 spec but serves as a marker that we haven't found a valid value
Constructor Detail

ISO8211

public ISO8211()
Method Detail

isValidRecordName

public static boolean isValidRecordName(java.lang.Object name)

whinge

public static void whinge(java.lang.Exception error,
                          long position)
Print as much detail as possible about this error on the stadard error stream. TODO: Probably not the best place for this method. Think about it some more.

iso8211 0-1-0 by Weft