com.ptc.wvs.server.util
Class Structure.LengthOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.ptc.wvs.server.util.Structure.LengthOutputStream
Enclosing class:
Structure

public static class Structure.LengthOutputStream
extends OutputStream


Field Summary
private  int count
           
 
Constructor Summary
Structure.LengthOutputStream()
           
 
Method Summary
 int getLength()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int i)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

private int count
Constructor Detail

Structure.LengthOutputStream

public Structure.LengthOutputStream()
Method Detail

getLength

public int getLength()

write

public void write(byte[] b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

write

public void write(int i)
           throws IOException
Throws:
IOException