wt.util
Class RMIMPInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
wt.util.RMIMPInputStream
- All Implemented Interfaces:
- MPInputStreamIfc
- public class RMIMPInputStream
- extends FilterInputStream
- implements MPInputStreamIfc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uploadDir
private static String uploadDir
UPLOADDIR_PROP
private static String UPLOADDIR_PROP
UPLOADDIR_PROP2
private static String UPLOADDIR_PROP2
DEBUG
private static boolean DEBUG
DEBUG_PROP
private static String DEBUG_PROP
postData
private Vector postData
bodyHeaders
private Properties bodyHeaders
encoding
private String encoding
cursor
private int cursor
stream
private InputStream stream
RMIMPInputStream
public RMIMPInputStream(Vector postData)
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncoding
in interface MPInputStreamIfc
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface MPInputStreamIfc
hasMoreObjectBodies
public boolean hasMoreObjectBodies()
throws IOException
- Specified by:
hasMoreObjectBodies
in interface MPInputStreamIfc
- Throws:
IOException
getBodyHeaders
public Enumeration getBodyHeaders()
- Specified by:
getBodyHeaders
in interface MPInputStreamIfc
getBodyHeader
public String getBodyHeader(String s)
- Specified by:
getBodyHeader
in interface MPInputStreamIfc
containsBodyHeader
public boolean containsBodyHeader(String s)
- Specified by:
containsBodyHeader
in interface MPInputStreamIfc
read
public int read()
throws IOException
- Specified by:
read
in interface MPInputStreamIfc
- Throws:
IOException
read
public int read(byte[] b)
throws IOException
- Specified by:
read
in interface MPInputStreamIfc
- Throws:
IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Specified by:
read
in interface MPInputStreamIfc
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Specified by:
skip
in interface MPInputStreamIfc
- Throws:
IOException
available
public int available()
- Specified by:
available
in interface MPInputStreamIfc
readString
public String readString()
- Specified by:
readString
in interface MPInputStreamIfc
close
public void close()
throws IOException
- Throws:
IOException