klute       2004/06/22 09:16:33

  Modified:    src/contrib/src/org/apache/poi/contrib/poibrowser
                        POIBrowser.java PropertySetDescriptor.java
  Log:
  
  
  Revision  Changes    Path
  1.8       +14 -6     
jakarta-poi/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
  
  Index: POIBrowser.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- POIBrowser.java   9 Apr 2004 13:05:08 -0000       1.7
  +++ POIBrowser.java   22 Jun 2004 16:16:33 -0000      1.8
  @@ -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
  
  
  
  1.4       +14 -6     
jakarta-poi/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
  
  Index: PropertySetDescriptor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-poi/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PropertySetDescriptor.java        9 Apr 2004 13:05:08 -0000       1.3
  +++ PropertySetDescriptor.java        22 Jun 2004 16:16:33 -0000      1.4
  @@ -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 @@
                                    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);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to