edu.sc.seis.seisFile.earthworm
Class EarthwormEscapeOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by edu.sc.seis.seisFile.earthworm.EarthwormEscapeOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class EarthwormEscapeOutputStream
extends java.io.FilterOutputStream


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
EarthwormEscapeOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void endTransmit()
           
 void startTransmit()
           
 void write(byte[] b)
          not efficient, but...
 void write(byte[] b, int offset, int len)
          not efficient, but...
 void write(int b)
           
 void writeThreeChars(int val)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarthwormEscapeOutputStream

public EarthwormEscapeOutputStream(java.io.OutputStream out)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
not efficient, but...

Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int offset,
                  int len)
           throws java.io.IOException
not efficient, but...

Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

startTransmit

public void startTransmit()
                   throws java.io.IOException
Throws:
java.io.IOException

endTransmit

public void endTransmit()
                 throws java.io.IOException
Throws:
java.io.IOException

writeThreeChars

public void writeThreeChars(int val)
                     throws java.io.IOException
Throws:
java.io.IOException