From b9e7df0cbe67b486ce3a1a2177bd08c0ced9e005 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> Date: Mon, 22 Dec 2003 17:51:40 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'Build_002'. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/Build_002@88 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/util/StreamUtils.html | 265 --------------------- 1 file changed, 265 deletions(-) delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html deleted file mode 100644 index a2615fd60..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class StreamUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

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

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

-Utility methods for streams. -

-

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

- - - - - - - - - - - - - - - - -
-Constructor Summary
StreamUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleancompareStreams(InputStream is1, - InputStream is2) - -
-          Compare the contents of two InputStreams.
-static byte[]readStream(InputStream in) - -
-          Reads a byte array from a stream.
-static StringreadStream(InputStream in, - String encoding) - -
-          Reads a String from a stream, using given encoding.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-StreamUtils

-
-public StreamUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-compareStreams

-
-public static boolean compareStreams(InputStream is1,
-                                     InputStream is2)
-                              throws IOException
-
-
Compare the contents of two InputStreams.
-
Parameters:
is1 - The 1st InputStream to compare.
is2 - The 2nd InputStream to compare.
Returns:
boolean true, if both streams contain the exactly the - same content, false otherwise.
Throws:
IOException - An error occurred reading one of the streams.
-
-
-
- -

-readStream

-
-public static byte[] readStream(InputStream in)
-                         throws IOException
-
-
Reads a byte array from a stream.
-
Parameters:
in - The InputStream to read.
Returns:
The bytes contained in the given InputStream.
Throws:
IOException - on any exception thrown
-
-
-
- -

-readStream

-
-public static String readStream(InputStream in,
-                                String encoding)
-                         throws IOException
-
-
Reads a String from a stream, using given encoding.
-
Parameters:
in - The InputStream to read.
encoding - The character encoding to use for converting the bytes - of the InputStream into a String.
Returns:
The content of the given InputStream converted into - a String.
Throws:
IOException - on any exception thrown
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - -- cgit v1.2.3