org.freecompany.redline.header
Class Format

java.lang.Object
  extended by org.freecompany.redline.header.Format

public class Format
extends java.lang.Object


Field Summary
protected  Header header
           
protected  Lead lead
           
protected  Signature signature
           
 
Constructor Summary
Format()
           
 
Method Summary
 Header getHeader()
           
 Lead getLead()
           
 Signature getSignature()
           
 void read(java.nio.channels.ReadableByteChannel channel)
           
 java.lang.String toString()
           
 void write(java.nio.channels.FileChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lead

protected Lead lead

signature

protected Signature signature

header

protected Header header
Constructor Detail

Format

public Format()
Method Detail

getLead

public Lead getLead()

getSignature

public Signature getSignature()

getHeader

public Header getHeader()

read

public void read(java.nio.channels.ReadableByteChannel channel)
          throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.nio.channels.FileChannel channel)
           throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object