iso8211 0-1-0 by Weft

uk.co.weft.iso8211.values
Class Binary

java.lang.Object
  |
  +--uk.co.weft.iso8211.Value
        |
        +--uk.co.weft.iso8211.values.Binary
Direct Known Subclasses:
LSOFBinary

public abstract class Binary
extends Value

a binary string. Abstract superclass for LSOFBinary and MSOFBinary

Version:
$Revision: 1.2 $ This revision: $Author: simon $
  $Log: Binary.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  2002/10/31 23:04:28  simon
  Not in all truth a lot of progress. I'm parsing the DDR OK but when I come
  to real records I'm still not parsing them, and the reason seems to be that
  I'm not associating the right formats with the right field types. I'm still
  finding this very opaque.


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

Field Summary
protected  java.lang.Double imaginary
          if it turns out I'm a complex number, my imaginary part
protected  java.lang.Integer intValue
          if it turns out I'm an integer, my value as an integer
protected  java.lang.Double realValue
          if it turns out I'm a real, my value as a (real) double
protected static int SUBTYPE_COMPLEX_FLOAT
           
protected static int SUBTYPE_REAL_FIXED
           
protected static int SUBTYPE_REAL_FLOAT
           
protected static int SUBTYPE_SIGNED_INT
           
protected static int SUBTYPE_UNSIGNED_INT
          what the subtypes actually mean
 
Fields inherited from class uk.co.weft.iso8211.Value
debug, delimiter, precision, subtype
 
Constructor Summary
Binary()
           
 
Method Summary
 java.lang.String toString()
          Stringify the thing I really am
 
Methods inherited from class uk.co.weft.iso8211.Value
initialise, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBTYPE_UNSIGNED_INT

protected static final int SUBTYPE_UNSIGNED_INT
what the subtypes actually mean

SUBTYPE_SIGNED_INT

protected static final int SUBTYPE_SIGNED_INT

SUBTYPE_REAL_FIXED

protected static final int SUBTYPE_REAL_FIXED

SUBTYPE_REAL_FLOAT

protected static final int SUBTYPE_REAL_FLOAT

SUBTYPE_COMPLEX_FLOAT

protected static final int SUBTYPE_COMPLEX_FLOAT

intValue

protected java.lang.Integer intValue
if it turns out I'm an integer, my value as an integer

realValue

protected java.lang.Double realValue
if it turns out I'm a real, my value as a (real) double

imaginary

protected java.lang.Double imaginary
if it turns out I'm a complex number, my imaginary part
Constructor Detail

Binary

public Binary()
Method Detail

toString

public java.lang.String toString()
Stringify the thing I really am
Overrides:
toString in class Value

iso8211 0-1-0 by Weft