From da5f70c20ef4bfea21c9d228e1d6891616887958 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> Date: Mon, 28 Jun 2004 20:46:16 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'MOA-ID1_2d05'. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/MOA-ID1_2d05@145 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/util/Base64Utils.html | 289 --------------------- 1 file changed, 289 deletions(-) delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html deleted file mode 100644 index d7989a8ff..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Base64Utils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

- -at.gv.egovernment.moa.util -
-Class Base64Utils

-
-java.lang.Object
-  |
-  +--at.gv.egovernment.moa.util.Base64Utils
-
-
-
-
public class Base64Utils
extends Object
- -

-Utitility functions for encoding/decoding Base64 strings. -

-

-
Version:
$Id$
-
Author:
Patrick Peck
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
Base64Utils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static byte[]decode(String base64String, - boolean ignoreInvalidChars) - -
-          Read the bytes encoded in a Base64 encoded String.
-static InputStreamdecodeToStream(String base64String, - boolean ignoreInvalidChars) - -
-          Read the bytes encoded in a Base64 encoded String and provide - them via an InputStream.
-static Stringencode(byte[] bytes) - -
-          Convert a byte array to a Base64 encoded String.
-static Stringencode(InputStream inputStream) - -
-          Convert the data contained in the given stream to a Base64 encoded - String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Base64Utils

-
-public Base64Utils()
-
-
- - - - - - - - -
-Method Detail
- -

-decode

-
-public static byte[] decode(String base64String,
-                            boolean ignoreInvalidChars)
-                     throws IOException
-
-
Read the bytes encoded in a Base64 encoded String.
-
Parameters:
base64String - The String containing the Base64 encoded - bytes.
ignoreInvalidChars - Whether to ignore invalid Base64 characters.
Returns:
byte[] The raw bytes contained in the base64String.
Throws:
IOException - Failed to read the Base64 data.
-
-
-
- -

-decodeToStream

-
-public static InputStream decodeToStream(String base64String,
-                                         boolean ignoreInvalidChars)
-
-
Read the bytes encoded in a Base64 encoded String and provide - them via an InputStream.
-
Parameters:
base64String - The String containing the Base64 encoded - bytes.
ignoreInvalidChars - Whether to ignore invalid Base64 characters.
Returns:
The InputStream from which the binary content of the - base64String can be read.
-
-
-
- -

-encode

-
-public static String encode(byte[] bytes)
-                     throws IOException
-
-
Convert a byte array to a Base64 encoded String.
-
Parameters:
bytes - The bytes to encode.
Returns:
String The Base64 encoded representation of the bytes.
Throws:
IOException - Failed to write the bytes as Base64 data.
-
-
-
- -

-encode

-
-public static String encode(InputStream inputStream)
-                     throws IOException
-
-
Convert the data contained in the given stream to a Base64 encoded - String.
-
Parameters:
inputStream - The stream containing the data to encode.
Returns:
The Base64 encoded data of inputStream, as a - String.
Throws:
IOException - Failed to convert the data in the stream.
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - -- cgit v1.2.3