From 9957bcd83570010df51ac0ccac3c839507a86850 Mon Sep 17 00:00:00 2001 From: Rainer Klute Date: Tue, 22 Jun 2004 16:16:33 +0000 Subject: *** empty log message *** git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353563 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/contrib/poibrowser/POIBrowser.java | 18 +++++++++++++----- .../poi/contrib/poibrowser/PropertySetDescriptor.java | 18 +++++++++++++----- 2 files changed, 26 insertions(+), 10 deletions(-) (limited to 'src/contrib') 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; /** *

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; /** *

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); -- cgit v1.2.3