MCPcopy Index your code
hub / github.com/ArtifexSoftware/mupdf / run

Method run

platform/java/example/ViewerCore.java:94–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 needsPassword = doc.needsPassword();
93 }
94 public void run() {
95 ViewerCore.this.doc = doc;
96 ViewerCore.this.acceleratorPath = acceleratorPath;
97 if (needsPassword) {
98 String password = callback.askPassword();
99 if (password != null)
100 checkPassword(password, onException);
101 }
102 else
103 loadDocument(onException);
104 }
105 public void exception(Throwable t) {
106 ViewerCore.this.acceleratorPath = null;
107 ViewerCore.this.doc = null;

Callers

nothing calls this directly

Calls 15

checkPasswordMethod · 0.95
loadDocumentMethod · 0.95
loadOutlineMethod · 0.95
refreshMetadataMethod · 0.95
gotoLocationMethod · 0.95
gotoFirstPageMethod · 0.95
runSearchMethod · 0.95
askPasswordMethod · 0.65
onMetadataChangeMethod · 0.65
onPermissionsChangeMethod · 0.65
onReflowableChangeMethod · 0.65
onLinearizedChangeMethod · 0.65

Tested by

no test coverage detected