iso8211 0-1-0 by Weft

uk.co.weft.iso8211
Class DDR

java.lang.Object
  |
  +--uk.co.weft.iso8211.Record
        |
        +--uk.co.weft.iso8211.DDR

public class DDR
extends Record

The ISO 8211 data definition record. The DDR (as I understand it) describes the format of the remaining records in the file. It's been pointed out to me by someone who knows what he's doing that since S57 is a single format implemented in ISO8211 I don't actually need to parse the DDR because every S57 file should have the same DDR. Well, I didn't know that when I started; and, more to the point, if I don't parse the DDR I have to write special purpose code to interpret each of the S57 record types, whereas if I get this right the same generic parser, using the DDR data, should parse all.

Version:
$Revision: 1.3 $ This revision: $Author: simon $
  $Log: DDR.java,v $
  Revision 1.3  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.2  2002/10/31 19:33:32  simon
  Documentation brought (more) in line with code.

  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
protected  java.util.Hashtable dictionary
          my dictionary: all the record types I've been told about and what's in them.
 
Fields inherited from class uk.co.weft.iso8211.Record
directory, fields, leader, record
 
Constructor Summary
DDR(ISO8211InputStream in, boolean debug)
          create and return a DDR object by reading from the current point in this stream
 
Methods inherited from class uk.co.weft.iso8211.Record
generate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dictionary

protected java.util.Hashtable dictionary
my dictionary: all the record types I've been told about and what's in them.
Constructor Detail

DDR

public DDR(ISO8211InputStream in,
           boolean debug)
    throws java.lang.Exception
create and return a DDR object by reading from the current point in this stream
Parameters:
in - the stream to read me from
debug - whether or not I'm in debug mode

iso8211 0-1-0 by Weft