text: public DocumentInputStream CreateDocumentInputStream(Entry document){if (!document.IsDocumentEntry){throw new IOException("Entry '" + document.Name+ "' is not a DocumentEntry");}DocumentEntry entry = (DocumentEntry)document;return new DocumentInputStream(entry);}