diff options
author | Rainer Klute <klute@apache.org> | 2003-07-28 17:01:03 +0000 |
---|---|---|
committer | Rainer Klute <klute@apache.org> | 2003-07-28 17:01:03 +0000 |
commit | 20f4eeafcbc7f3bebccee6b3066183b6789464a1 (patch) | |
tree | e3c0a19605fd45afdc5384dba57aeb2b726ae7aa /src | |
parent | ff77900456000686a9683495614b79d14f313de8 (diff) | |
download | poi-20f4eeafcbc7f3bebccee6b3066183b6789464a1.tar.gz poi-20f4eeafcbc7f3bebccee6b3066183b6789464a1.zip |
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353267 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
3 files changed, 17 insertions, 11 deletions
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java index 325b0fe077..7f5c2508e0 100644 --- a/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java +++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java @@ -58,8 +58,10 @@ package org.apache.poi.contrib.poibrowser; -import java.io.*; -import java.util.*; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; + import org.apache.poi.hpsf.ClassID; diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java index bcb237ea9b..0467872fae 100644 --- a/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java +++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java @@ -265,13 +265,4 @@ public class TreeReaderListener implements POIFSReaderListener } } - - private String s(final Object o) - { - if (o == null) - return "null"; - else - return o.getClass().getName() + '@' + o.hashCode(); - } - } diff --git a/src/testcases/org/apache/poi/hpsf/basic/Util.java b/src/testcases/org/apache/poi/hpsf/basic/Util.java index 7afd37194f..75e7aa72e5 100644 --- a/src/testcases/org/apache/poi/hpsf/basic/Util.java +++ b/src/testcases/org/apache/poi/hpsf/basic/Util.java @@ -90,7 +90,10 @@ public class Util * output stream until end of file is encountered.</p> * * @param in the input stream to read from + * * @param out the output stream to write to + * + * @exception IOException if an I/O exception occurs */ public static void copy(final InputStream in, final OutputStream out) throws IOException @@ -129,6 +132,11 @@ public class Util * * @return The POI files. The elements are ordered in the same way * as the files in the POI filesystem. + * + * @exception FileNotFoundException if the file containing the POI + * filesystem does not exist + * + * @exception IOException if an I/O exception occurs */ public static POIFile[] readPOIFiles(final File poiFs) throws FileNotFoundException, IOException @@ -151,6 +159,11 @@ public class Util * * @return The POI files. The elements are ordered in the same way * as the files in the POI filesystem. + * + * @exception FileNotFoundException if the file containing the POI + * filesystem does not exist + * + * @exception IOException if an I/O exception occurs */ public static POIFile[] readPOIFiles(final File poiFs, final String[] poiFiles) |