/** * Write the property stream to the output stream */ void displayPropertySet(String ps, OutputStream os) throws IOException,BiffException { if (ps.equalsIgnoreCase("SummaryInformation")) { ps = BaseCompoundFile.SUMMARY_INFORMATION_NAME; } else if (ps.equalsIgnoreCase("DocumentSummaryInformation")) { ps = BaseCompoundFile.DOCUMENT_SUMMARY_INFORMATION_NAME; } else if (ps.equalsIgnoreCase("CompObj")) { ps = BaseCompoundFile.COMP_OBJ_NAME; } byte[] stream = compoundFile.getStream(ps); os.write(stream); }
/** * Write the property stream to the output stream */ void displayPropertySet(String ps, OutputStream os) throws IOException,BiffException { if (ps.equalsIgnoreCase("SummaryInformation")) { ps = BaseCompoundFile.SUMMARY_INFORMATION_NAME; } else if (ps.equalsIgnoreCase("DocumentSummaryInformation")) { ps = BaseCompoundFile.DOCUMENT_SUMMARY_INFORMATION_NAME; } else if (ps.equalsIgnoreCase("CompObj")) { ps = BaseCompoundFile.COMP_OBJ_NAME; } byte[] stream = compoundFile.getStream(ps); os.write(stream); }
if (ps.size > 0 ) data = readCompoundFile.getStream(i);
if (ps.size > 0 ) data = readCompoundFile.getStream(i);