attachmentDirectory = (DirectoryChunk) chunk; } else { LOG.log(POILogger.ERROR, "Unexpected data chunk of type " + chunk.getEntryName()); attachContentId = (StringChunk) chunk; } else { LOG.log(POILogger.WARN, "Currently unsupported attachment chunk property will be ignored. " + chunk.getEntryName());