aboutsummaryrefslogtreecommitdiffstats
path: root/src/contrib
diff options
context:
space:
mode:
authorRainer Klute <klute@apache.org>2004-06-22 16:16:33 +0000
committerRainer Klute <klute@apache.org>2004-06-22 16:16:33 +0000
commit9957bcd83570010df51ac0ccac3c839507a86850 (patch)
tree384da7ad3122b2f1ced05d353878180007555278 /src/contrib
parent165ff4ff635a88ad547cbb1c3d4cddd496e86d8b (diff)
downloadpoi-9957bcd83570010df51ac0ccac3c839507a86850.tar.gz
poi-9957bcd83570010df51ac0ccac3c839507a86850.zip
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353563 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/contrib')
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java18
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java18
2 files changed, 26 insertions, 10 deletions
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
index c9bfe6eb24..0c998c3235 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
@@ -18,11 +18,19 @@
package org.apache.poi.contrib.poibrowser;
-import java.awt.event.*;
-import java.io.*;
-import javax.swing.*;
-import javax.swing.tree.*;
-import org.apache.poi.poifs.eventfilesystem.*;
+import java.awt.event.WindowAdapter;
+import java.awt.event.WindowEvent;
+import java.io.FileInputStream;
+import java.io.IOException;
+
+import javax.swing.JFrame;
+import javax.swing.JScrollPane;
+import javax.swing.JTree;
+import javax.swing.tree.DefaultMutableTreeNode;
+import javax.swing.tree.DefaultTreeModel;
+import javax.swing.tree.MutableTreeNode;
+
+import org.apache.poi.poifs.eventfilesystem.POIFSReader;
/**
* <p>The main class of the POI Browser. It shows the structure of POI
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
index 0c98528793..9e6500c1b7 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
@@ -18,9 +18,16 @@
package org.apache.poi.contrib.poibrowser;
-import java.io.*;
-import org.apache.poi.hpsf.*;
-import org.apache.poi.poifs.filesystem.*;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+
+import org.apache.poi.hpsf.MarkUnsupportedException;
+import org.apache.poi.hpsf.NoPropertySetStreamException;
+import org.apache.poi.hpsf.PropertySet;
+import org.apache.poi.hpsf.PropertySetFactory;
+import org.apache.poi.hpsf.UnexpectedPropertySetTypeException;
+import org.apache.poi.poifs.filesystem.DocumentInputStream;
+import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
/**
* <p>Describes the most important (whatever that is) features of a
@@ -63,8 +70,9 @@ public class PropertySetDescriptor extends DocumentDescriptor
final POIFSDocumentPath path,
final DocumentInputStream stream,
final int nrOfBytesToDump)
- throws NoPropertySetStreamException, MarkUnsupportedException,
- UnexpectedPropertySetTypeException, IOException
+ throws UnexpectedPropertySetTypeException, NoPropertySetStreamException,
+ MarkUnsupportedException, UnsupportedEncodingException,
+ IOException
{
super(name, path, stream, nrOfBytesToDump);
propertySet = PropertySetFactory.create(stream);