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/FileUtils.html | 324 --------------------- 1 file changed, 324 deletions(-) delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html deleted file mode 100644 index b11c1d1d6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class FileUtils - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- -

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

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

-Utility for accessing files on the file system, and for reading from input streams. -

-

-
Version:
$Id$
-
Author:
Paul Ivancsics
-
-
- -

- - - - - - - - - - - - - - - - -
-Constructor Summary
FileUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static byte[]readFile(String filename) - -
-          Reads a file, given by filename, into a byte array.
-static StringreadFile(String filename, - String encoding) - -
-          Reads a file, given by filename, into a String.
-static byte[]readResource(String name) - -
-          Reads a file from a resource.
-static StringreadResource(String name, - String encoding) - -
-          Reads a file from a resource.
-static byte[]readURL(String urlString) - -
-          Reads a file, given by URL, into a byte array.
-static StringreadURL(String urlString, - String encoding) - -
-          Reads a file, given by URL, into a String.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-FileUtils

-
-public FileUtils()
-
-
- - - - - - - - -
-Method Detail
- -

-readURL

-
-public static byte[] readURL(String urlString)
-                      throws IOException
-
-
Reads a file, given by URL, into a byte array.
-
Parameters:
urlString - file URL
Returns:
file content
Throws:
IOException - on any exception thrown
-
-
-
- -

-readURL

-
-public static String readURL(String urlString,
-                             String encoding)
-                      throws IOException
-
-
Reads a file, given by URL, into a String.
-
Parameters:
urlString - file URL
encoding - character encoding
Returns:
file content
Throws:
IOException - on any exception thrown
-
-
-
- -

-readFile

-
-public static byte[] readFile(String filename)
-                       throws IOException
-
-
Reads a file, given by filename, into a byte array.
-
Parameters:
filename - filename
Returns:
file content
Throws:
IOException - on any exception thrown
-
-
-
- -

-readFile

-
-public static String readFile(String filename,
-                              String encoding)
-                       throws IOException
-
-
Reads a file, given by filename, into a String.
-
Parameters:
filename - filename
encoding - character encoding
Returns:
file content
Throws:
IOException - on any exception thrown
-
-
-
- -

-readResource

-
-public static byte[] readResource(String name)
-                           throws IOException
-
-
Reads a file from a resource.
-
Parameters:
name - resource name
Returns:
file content as a byte array
Throws:
IOException - on any exception thrown
-
-
-
- -

-readResource

-
-public static String readResource(String name,
-                                  String encoding)
-                           throws IOException
-
-
Reads a file from a resource.
-
Parameters:
name - filename
encoding - character encoding
Returns:
file content
Throws:
IOException - on any exception thrown
-
-
- -
- - - - - - - - - - - - - - - - - -
- -
- - -
- - - -- cgit v1.2.3