Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-03


oracle.security.xmlsec.util
Class Base64.DecodeInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by oracle.security.xmlsec.util.Base64.DecodeInputStream

All Implemented Interfaces:
java.io.Closeable
Enclosing class:
Base64

public static class Base64.DecodeInputStream
extends java.io.InputStream

Decodes a base64 Reader and returns that as in InputStream. Instead of decoding the whole string at once, it decodes it on demand to satisfy the bytes requested by read


Constructor Summary
Base64.DecodeInputStream(java.io.Reader rw)
          Constructor which takes a base 64 string

 

Method Summary
 int read()
           
 int read(byte[] b, int off, int len)
           

 

Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset, skip

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Base64.DecodeInputStream

public Base64.DecodeInputStream(java.io.Reader rw)
Constructor which takes a base 64 string
Parameters:
b64String -

Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-03


Copyright © 2005, 2011 , Oracle. All rights reserved.