poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nokleberg <ch...@sixlegs.com>
Subject Re: Improving POIFS performance
Date Tue, 22 Jul 2003 19:40:18 GMT
On Tue, Jul 22, 2003 at 03:34:40PM -0400, Andrew C. Oliver wrote:
> Does it look feasible to merge with POIFS?  We need to support both ways.

The library only works against the Seekable interface, but there is a
Seekable wrapper over InputStreams which does transparent caching. This
is all hidden from the user of the API, though:

  public class OleDoc {
      public static OleDoc read(InputStream in);
      public static OleDoc read(RandomAccessFile file);
      public static OleDoc read(byte[] bytes);
      // etc
  }

Chris

Mime
View raw message