Fixed bug in example code.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
889173d425
commit
a51ce3a779
@ -149,13 +149,13 @@ r.registerListener(new MyPOIFSReaderListener(),
|
|||||||
<source>
|
<source>
|
||||||
static class MyPOIFSReaderListener implements POIFSReaderListener
|
static class MyPOIFSReaderListener implements POIFSReaderListener
|
||||||
{
|
{
|
||||||
public void processPOIFSReaderEvent(POIFSReaderEvent e)
|
public void processPOIFSReaderEvent(POIFSReaderEvent event)
|
||||||
{
|
{
|
||||||
SummaryInformation si = null;
|
SummaryInformation si = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
si = (SummaryInformation)
|
si = (SummaryInformation)
|
||||||
PropertySetFactory.create(e.getStream());
|
PropertySetFactory.create(event.getStream());
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user