wt.adapter.enterprise
Class AddContentItemsWebjectDelegate.BlobInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bywt.adapter.enterprise.AddContentItemsWebjectDelegate.BlobInputStream
Enclosing class:
AddContentItemsWebjectDelegate

private class AddContentItemsWebjectDelegate.BlobInputStream
extends InputStream


Field Summary
private  String boundary
           
private  byte[] buffer
           
private  int bufferIndex
           
private  int bufferLimit
           
private  int bytesRead
           
private  byte cachedByte
           
private  boolean endOfBlob
           
private  boolean endOfMultipart
           
private  IeMultipartInputStream mis
           
private  boolean resolveCR
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
AddContentItemsWebjectDelegate.BlobInputStream(IeMultipartInputStream mis)
           
 
Method Summary
 void close()
           
private  boolean isBoundary()
           
 boolean isEndOfMultipart()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

boundary

private String boundary

buffer

private byte[] buffer

bufferIndex

private int bufferIndex

bufferLimit

private int bufferLimit

bytesRead

private int bytesRead

cachedByte

private byte cachedByte

endOfBlob

private boolean endOfBlob

endOfMultipart

private boolean endOfMultipart

mis

private IeMultipartInputStream mis

resolveCR

private boolean resolveCR
Constructor Detail

AddContentItemsWebjectDelegate.BlobInputStream

public AddContentItemsWebjectDelegate.BlobInputStream(IeMultipartInputStream mis)
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

isEndOfMultipart

public boolean isEndOfMultipart()

read

public int read()
         throws IOException
Throws:
IOException

isBoundary

private boolean isBoundary()