e4s.servlet
Class E4MultipartRequest.EmptyInputStream
java.lang.Object
java.io.InputStream
e4s.servlet.E4MultipartRequest.EmptyInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- E4MultipartRequest
public class E4MultipartRequest.EmptyInputStream
- extends java.io.InputStream
A Multipart form data parser. Parses an input stream and writes out any
files found, making available a hashtable of other url parameters. As of
version 1.17 the files can be saved to memory, and optionally written to a
database, etc.
Copyright (c)2001-2003 Jason Pell.
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Email: jasonpell@hotmail.com Url: http://www.geocities.com/jasonpell
A empty InputStream class for getFileContents() method.
| Methods inherited from class java.io.InputStream |
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 |
E4MultipartRequest.EmptyInputStream
public E4MultipartRequest.EmptyInputStream()
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
- Throws:
java.io.IOException