/** * add a new POIFSDocument to the FileSytem * * @param document the POIFSDocument being added */ void addDocument(final POIFSDocument document) { _property_table.addProperty(document.getDocumentProperty()); }
DocumentOutputStream(POIFSDocument document, long limit) throws IOException { _document = document; _document.free(); _property = document.getDocumentProperty(); _limit = limit; }
/** * create a new DocumentEntry * * @param document the new document * * @return the new DocumentEntry * * @exception IOException if the document can't be created */ DocumentEntry createDocument(final POIFSDocument document) throws IOException { DocumentProperty property = document.getDocumentProperty(); DocumentNode rval = new DocumentNode(property, this); (( DirectoryProperty ) getProperty()).addChild(property); _nfilesystem.addDocument(document); _entries.add(rval); _byname.put(property.getName(), rval); return rval; }
/** * add a new POIFSDocument to the FileSytem * * @param document the POIFSDocument being added */ void addDocument(final POIFSDocument document) { _property_table.addProperty(document.getDocumentProperty()); }
/** * add a new POIFSDocument * * @param document the POIFSDocument being added */ void addDocument(final POIFSDocument document) { _documents.add(document); _property_table.addProperty(document.getDocumentProperty()); }
DocumentOutputStream(POIFSDocument document, long limit) throws IOException { _document = document; _document.free(); _property = document.getDocumentProperty(); _limit = limit; }
/** * add a new POIFSDocument * * @param document the POIFSDocument being added */ void addDocument(final POIFSDocument document) { _documents.add(document); _property_table.addProperty(document.getDocumentProperty()); }
/** * create a new DocumentEntry * * @param document the new document * * @return the new DocumentEntry * * @exception IOException */ DocumentEntry createDocument(final POIFSDocument document) throws IOException { DocumentProperty property = document.getDocumentProperty(); DocumentNode rval = new DocumentNode(property, this); (( DirectoryProperty ) getProperty()).addChild(property); _ofilesystem.addDocument(document); _entries.add(rval); _byname.put(property.getName(), rval); return rval; }
/** * create a new DocumentEntry * * @param document the new document * * @return the new DocumentEntry * * @exception IOException if the document can't be created */ DocumentEntry createDocument(final POIFSDocument document) throws IOException { DocumentProperty property = document.getDocumentProperty(); DocumentNode rval = new DocumentNode(property, this); (( DirectoryProperty ) getProperty()).addChild(property); _nfilesystem.addDocument(document); _entries.add(rval); _byname.put(property.getName(), rval); return rval; }
/** * create a new DocumentEntry * * @param document the new document * * @return the new DocumentEntry * * @exception IOException */ DocumentEntry createDocument(final POIFSDocument document) throws IOException { DocumentProperty property = document.getDocumentProperty(); DocumentNode rval = new DocumentNode(property, this); (( DirectoryProperty ) getProperty()).addChild(property); _ofilesystem.addDocument(document); _entries.add(rval); _byname.put(property.getName(), rval); return rval; }