poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: 3.8 beta 2?
Date Sun, 27 Mar 2011 16:08:29 GMT
Sorry, I missed the updates on how-to.html. I think it is enough for
now, we can always point users to this page.

Yegor

On Sun, Mar 27, 2011 at 4:43 PM, Nick Burch <nick.burch@alfresco.com> wrote:
> On Sun, 27 Mar 2011, Yegor Kozlov wrote:
>>
>> What's the status of NPOIFS? I see lots of commits, but not the
>> documentation.  IMO, if we want early feedback on this feature, we ought to
>> drop a few lines how to use it.
>
> Currently it's read only (write is almost there, but not quite). It should
> be a complete drop-in for POIFS for reading. Generally the only change is
> that it can take a File (and is quicker if it does), otherwise replace
> POIFSFileSystem with NPOIFSFileSystem and you're away!
>
> This:
>   FileInputStream inp = new FileInputStream(file);
>   POIFSFileSystem fs = new POIFSFileSystem(inp);
> Becomes:
>   NPOIFSFileSystem fs = new NPOIFSFileSystem(file)
>
> This:
>   InputStream inp = fetchInputStream(request);
>   POIFSFileSystem fs = new POIFSFileSystem(inp);
> Is basically unchanged:
>   InputStream inp = fetchInputStream(request);
>   NPOIFSFileSystem fs = new NPOIFSFileSystem(inp);
>
> There's some stuff at:
>  http://poi.apache.org/poifs/how-to.html#NIO+Reading+using+NPOIFSFileSystem
> Do you think we ned any more?
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message