public WriteAccess(java.io.File file) throws IOException, BiffException { WorkbookSettings ws = new WorkbookSettings(); FileInputStream fis = new FileInputStream(file); File f = new File(fis, ws); reader = new BiffRecordReader(f); display(ws); fis.close(); }
public WriteAccess(java.io.File file) throws IOException, BiffException { WorkbookSettings ws = new WorkbookSettings(); FileInputStream fis = new FileInputStream(file); File f = new File(fis, ws); reader = new BiffRecordReader(f); display(ws); fis.close(); }
/** * Constructor * * @param file the file * @param os the output stream * @exception IOException * @exception BiffException */ public BiffDump(java.io.File file, OutputStream os) throws IOException, BiffException { writer = new BufferedWriter(new OutputStreamWriter(os)); FileInputStream fis = new FileInputStream(file); File f = new File(fis, new WorkbookSettings()); reader = new BiffRecordReader(f); buildNameHash(); dump(); writer.flush(); writer.close(); fis.close(); }
/** * Constructor * * @param file the file * @param os the output stream * @exception IOException * @exception BiffException */ public BiffDump(java.io.File file, OutputStream os) throws IOException, BiffException { writer = new BufferedWriter(new OutputStreamWriter(os)); FileInputStream fis = new FileInputStream(file); File f = new File(fis, new WorkbookSettings()); reader = new BiffRecordReader(f); buildNameHash(); dump(); writer.flush(); writer.close(); fis.close(); }