|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
es.caib.signatura.impl.MIMEInputStream
public class MIMEInputStream
| Field Summary |
|---|
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
MIMEInputStream(java.io.InputStream is,
java.lang.String contentType)
Crea un nuevo MIMEInputStream |
|
| Method Summary | |
|---|---|
int |
available()
Devuelve el número de bytes que se pueden leer sin que se bloquee el stream |
void |
close()
|
void |
mark(int readlimit)
Does nothing, since this class does not support mark/reset. |
boolean |
markSupported()
Tests if this input stream supports the mark and
reset methods of InputStream, which it does not. |
int |
read()
Lee el siguiente byte procesado |
int |
read(byte[] buffer,
int offset,
int length)
|
void |
reset()
Always throws an IOException, since this class does not support mark/reset. |
long |
skip(long n)
Skips over and discards n bytes of data from the input stream. |
| Methods inherited from class java.io.FilterInputStream |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MIMEInputStream(java.io.InputStream is,
java.lang.String contentType)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOException
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public long skip(long n)
throws java.io.IOException
skip in class java.io.FilterInputStreamn - the number of bytes to be skipped.
java.io.IOException - if an I/O error occurs.
public int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOException - ipublic void mark(int readlimit)
mark in class java.io.FilterInputStream
public void reset()
throws java.io.IOException
reset in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean markSupported()
mark and
reset methods of InputStream, which it does not.
markSupported in class java.io.FilterInputStreamfalse, since this class does not support the
mark and reset methods.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||