MCPcopy Create free account
hub / github.com/apache/poi / commit

Method commit

src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java:185–187  ·  view source on GitHub ↗

Save the content in the underlying package part. Default implementation is empty meaning that the package part is left unmodified. Sub-classes should override and add logic to marshal the "model" into Ooxml4J. For example, the code saving a generic XML entry may look as follows: protec

()

Source from the content-addressed store, hash-verified

183 *
184 */
185 protected void commit() throws IOException {
186
187 }
188
189 /**
190 * Save changes in the underlying OOXML package.

Callers 1

onSaveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected