xxl.spatial
Class AsciiKPEConverter

java.lang.Object
  |
  +--xxl.io.Converter
        |
        +--xxl.spatial.AsciiKPEConverter

public class AsciiKPEConverter
extends Converter


Field Summary
protected  int dim
           
protected  int no
           
 
Constructor Summary
AsciiKPEConverter(int dim)
           
AsciiKPEConverter(int dim, int no)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.Object read(java.io.DataInput dataInput, java.lang.Object object)
          Reads an Object from the given DataInput.
 int write(java.io.DataOutput dataOutput, java.lang.Object object)
          Writes an Object to the given DataOutput.
 
Methods inherited from class xxl.io.Converter
sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dim

protected int dim

no

protected int no
Constructor Detail

AsciiKPEConverter

public AsciiKPEConverter(int dim)

AsciiKPEConverter

public AsciiKPEConverter(int dim,
                         int no)
Method Detail

read

public java.lang.Object read(java.io.DataInput dataInput,
                             java.lang.Object object)
                      throws java.io.IOException
Reads an Object from the given DataInput.
Parameters:
object - the Object for which attributes are to be read. If object==null this method should create a new Object;
Returns:
the Object that was 'filled' with data from the given DataInput is returned.
Overrides:
read in class Converter

write

public int write(java.io.DataOutput dataOutput,
                 java.lang.Object object)
          throws java.io.IOException
Writes an Object to the given DataOutput. TODO
Returns:
returns the number of bytes that were written
Overrides:
write in class Converter

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException