Klasse Base64InputStream

java.lang.Object
java.io.InputStream
de.uplanet.util.base64.Base64InputStream
Alle implementierten Schnittstellen:
Closeable, AutoCloseable

@Scriptable public final class Base64InputStream extends InputStream
Base64 encoding as described in RFC 2045 section 6.8.

Siehe auch:
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Constructor for Base64InputStream.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Close the stream.
    void
    mark(int p_iReadLimit)
    Throws a java.lang.UnsupportedOperationException, since this class does not support the mark method.
    boolean
    Tests if this input stream supports the mark and reset methods, which it does not.
    int
    Reads the next byte of data from the input stream.
    int
    read(byte[] p_byte)
     
    int
    read(byte[] p_buf, int p_iOffs, int p_iLen)
     
    void
    Throws a java.lang.UnsupportedOperationException, since this class does not support the reset method.
    long
    skip(long p_iLen)
    Skips over and discards p_iLen bytes of data from this decoding stream.

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Base64InputStream

      public Base64InputStream(Reader p_in)
      Constructor for Base64InputStream. Creates a new base64 input stream.
      Parameter:
      p_in - The underlying input stream.
  • Methodendetails

    • read

      public int read() throws IOException
      Reads the next byte of data from the input stream.
      Angegeben von:
      read in Klasse InputStream
      Gibt zurück:
      The byte read.
      Löst aus:
      IOException - If an I/O error occurs.
    • read

      public int read(byte[] p_byte) throws IOException
      Setzt außer Kraft:
      read in Klasse InputStream
      Löst aus:
      IOException - If an I/O error occurs.
    • read

      public int read(byte[] p_buf, int p_iOffs, int p_iLen) throws IOException
      Setzt außer Kraft:
      read in Klasse InputStream
      Löst aus:
      IOException - If an I/O error occurs.
    • skip

      public long skip(long p_iLen) throws IOException
      Skips over and discards p_iLen bytes of data from this decoding stream.
      Setzt außer Kraft:
      skip in Klasse InputStream
      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 the mark and reset methods, which it does not.
      Setzt außer Kraft:
      markSupported in Klasse InputStream
      Gibt zurück:
      false, since this class does not support the mark and reset methods.
    • mark

      public void mark(int p_iReadLimit)
      Throws a java.lang.UnsupportedOperationException, since this class does not support the mark method.
      Setzt außer Kraft:
      mark in Klasse InputStream
    • reset

      public void reset() throws IOException
      Throws a java.lang.UnsupportedOperationException, since this class does not support the reset method.
      Setzt außer Kraft:
      reset in Klasse InputStream
      Löst aus:
      IOException - If an I/O error occurs.
    • close

      public void close() throws IOException
      Close the stream.
      Angegeben von:
      close in Schnittstelle AutoCloseable
      Angegeben von:
      close in Schnittstelle Closeable
      Setzt außer Kraft:
      close in Klasse InputStream
      Löst aus:
      IOException