doc.getAllData(name.replace('\\', '/'), "Molecule", fileData);
} else if (ZipUtil.isZipFile(bis)) {
ZipUtil.getAllData(bis, subFileList, name.replace('\\', '/'), "Molecule", fileData);
} else if (asBinaryString) {
// used for Spartan binary file reading
BinaryDocument bd = new BinaryDocument();
bd.setStream(bis, false);
sb = new StringBuffer();
//note -- these headers must match those in ZipUtil.getAllData and CompoundDocument.getAllData
if (header != null)
sb.append("BEGIN Directory Entry " + name0 + "\n");
try {
while (true)
sb.append(Integer.toHexString(((int) bd.readByte()) & 0xFF))
.append(' ');
} catch (Exception e1) {
sb.append('\n');
}
if (header != null)