edu.umd.cs.jazz.io
Class ZStreamPreprocessor

java.lang.Object
  |
  +--edu.umd.cs.jazz.io.ZStreamPreprocessor

public class ZStreamPreprocessor
extends java.lang.Object


Field Summary
protected  java.lang.String binaryMarker
           
protected  byte[] bmBytes
           
protected  int bmLength
           
protected  byte[] buffer
           
protected  int bufSize
           
protected  ZExtendedInputStream data
           
protected  java.lang.StringBuffer out
           
 
Constructor Summary
ZStreamPreprocessor(ZExtendedInputStream data)
           
 
Method Summary
 byte[] getBytes(int offset, int length)
           
protected  void handleBinaryData(java.io.OutputStream captureBuf, int bytesInBuffer, int markerPosInBuffer)
           
protected  boolean isEOL(byte b)
           
protected  boolean isWhiteSpace(byte b)
           
static void main(java.lang.String[] args)
           
 java.io.InputStream preprocessStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected ZExtendedInputStream data

out

protected java.lang.StringBuffer out

bufSize

protected int bufSize

binaryMarker

protected java.lang.String binaryMarker

bmLength

protected int bmLength

bmBytes

protected byte[] bmBytes

buffer

protected byte[] buffer
Constructor Detail

ZStreamPreprocessor

public ZStreamPreprocessor(ZExtendedInputStream data)
Method Detail

isWhiteSpace

protected boolean isWhiteSpace(byte b)

isEOL

protected boolean isEOL(byte b)

handleBinaryData

protected void handleBinaryData(java.io.OutputStream captureBuf,
                                int bytesInBuffer,
                                int markerPosInBuffer)
                         throws java.io.IOException

getBytes

public byte[] getBytes(int offset,
                       int length)

preprocessStream

public java.io.InputStream preprocessStream()

main

public static final void main(java.lang.String[] args)