1 2 17 18 package org.apache.poi.hdf.model; 19 20 import java.io.InputStream ; 21 import java.io.IOException ; 22 23 import org.apache.poi.hdf.event.HDFParsingListener; 24 import org.apache.poi.hdf.event.EventBridge; 25 26 public class HDFDocument 27 { 28 29 HDFObjectModel _model; 30 31 32 public HDFDocument(InputStream in, HDFParsingListener listener) throws IOException 33 { 34 EventBridge eb = new EventBridge(listener); 35 HDFObjectFactory factory = new HDFObjectFactory(in, eb); 36 } 37 public HDFDocument(InputStream in) throws IOException 38 { 39 _model = new HDFObjectModel(); 40 HDFObjectFactory factory = new HDFObjectFactory(in, _model); 41 } 42 } 43 | Popular Tags |