com.vaadin.terminal.gwt.server.


Class AbstractCommunicationManager.SimpleMultiPartInputStream

java.lang.Object
  java.io.InputStream
      com.vaadin.terminal.gwt.server.AbstractCommunicationManager.SimpleMultiPartInputStream

All Implemented Interfaces:

Closeable

Enclosing class:

AbstractCommunicationManager

public static class AbstractCommunicationManager.SimpleMultiPartInputStream
extends InputStream

Stream that extracts content from another stream until the boundary string is encountered. Public only for unit tests, should be considered private for all other purposes.

Constructor Summary
AbstractCommunicationManager.SimpleMultiPartInputStream(InputStream realInputStream, String boundaryString)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCommunicationManager.SimpleMultiPartInputStream

public AbstractCommunicationManager.SimpleMultiPartInputStream(InputStream realInputStream,
                                                               String boundaryString)
Method Detail

read

public int read()
         throws IOException

Specified by:
read in class InputStream

Throws:
IOException