Package de.uplanet.util.base64
Klasse Base64InputStream
java.lang.Object
java.io.InputStream
de.uplanet.util.base64.Base64InputStream
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
Base64 encoding as described in
RFC 2045 section 6.8.
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()Close the stream.voidmark(int p_iReadLimit) Throws ajava.lang.UnsupportedOperationException, since this class does not support themarkmethod.booleanTests if this input stream supports themarkandresetmethods, which it does not.intread()Reads the next byte of data from the input stream.intread(byte[] p_byte) intread(byte[] p_buf, int p_iOffs, int p_iLen) voidreset()Throws ajava.lang.UnsupportedOperationException, since this class does not support theresetmethod.longskip(long p_iLen) Skips over and discardsp_iLenbytes of data from this decoding stream.Von Klasse geerbte Methoden java.io.InputStream
available, nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Konstruktordetails
-
Base64InputStream
Constructor for Base64InputStream. Creates a new base64 input stream.- Parameter:
p_in- The underlying input stream.
-
-
Methodendetails
-
read
Reads the next byte of data from the input stream.- Angegeben von:
readin KlasseInputStream- Gibt zurück:
- The byte read.
- Löst aus:
IOException- If an I/O error occurs.
-
read
- Setzt außer Kraft:
readin KlasseInputStream- Löst aus:
IOException- If an I/O error occurs.
-
read
- Setzt außer Kraft:
readin KlasseInputStream- Löst aus:
IOException- If an I/O error occurs.
-
skip
Skips over and discardsp_iLenbytes of data from this decoding stream.- Setzt außer Kraft:
skipin KlasseInputStream- Parameter:
p_iLen- Number of Bytes to skip.- Gibt zurück:
- The number of bytes actually skipped.
- Löst aus:
IOException
-
markSupported
public boolean markSupported()Tests if this input stream supports themarkandresetmethods, which it does not.- Setzt außer Kraft:
markSupportedin KlasseInputStream- Gibt zurück:
false, since this class does not support themarkandresetmethods.
-
mark
public void mark(int p_iReadLimit) Throws ajava.lang.UnsupportedOperationException, since this class does not support themarkmethod.- Setzt außer Kraft:
markin KlasseInputStream
-
reset
Throws ajava.lang.UnsupportedOperationException, since this class does not support theresetmethod.- Setzt außer Kraft:
resetin KlasseInputStream- Löst aus:
IOException- If an I/O error occurs.
-
close
Close the stream.- Angegeben von:
closein SchnittstelleAutoCloseable- Angegeben von:
closein SchnittstelleCloseable- Setzt außer Kraft:
closein KlasseInputStream- Löst aus:
IOException
-