MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / load

Method load

src/test/java/com/amazon/ion/IonTestCase.java:254–264  ·  view source on GitHub ↗
(File ionFile)

Source from the content-addressed store, hash-verified

252 }
253
254 public IonDatagram load(File ionFile)
255 throws IonException, IOException
256 {
257 IonLoader loader = loader();
258 IonDatagram dg = loader.load(ionFile);
259
260 // Flush out any encoding problems in the data.
261 forceDeepMaterialization(dg);
262
263 return dg;
264 }
265
266 /**
267 * No op, removal pending the binary backed impl removal

Callers 1

loadTestFileMethod · 0.95

Calls 3

loaderMethod · 0.95
loadMethod · 0.95

Tested by

no test coverage detected