com.vaadin.server.communication
Class FileUploadHandler.SimpleMultiPartInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.vaadin.server.communication.FileUploadHandler.SimpleMultiPartInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
FileUploadHandler

public static class FileUploadHandler.SimpleMultiPartInputStream
extends java.io.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
FileUploadHandler.SimpleMultiPartInputStream(java.io.InputStream realInputStream, java.lang.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

FileUploadHandler.SimpleMultiPartInputStream

public FileUploadHandler.SimpleMultiPartInputStream(java.io.InputStream realInputStream,
                                                    java.lang.String boundaryString)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.