poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: Text extractor meta data
Date Tue, 06 Jan 2009 18:59:14 GMT
On Mon, 5 Jan 2009, Antony Bowesman wrote:
> Alternatively, I can cast the returned extractor to POIOLE2TextExtractor 
> and then get the SI and DSI from there, but I simply then want to get 
> certain properties from that.  I don't want to have to write code to do 
> things like getAuthor(), as the required properties are driven from 
> external config.

Your best bet then is something like 
getSummaryInformation().getProperties(), and find the ones you want in 
there. Well, either that, or do a little bit of reflection, and 
automatically turn the name "author" in your properties file into a call 
to getAuthor() ?


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

View raw message