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

Method work

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

Source from the content-addressed store, hash-verified

82 }
83 }
84 public void work() {
85 String acceleratorPath = getAcceleratorPath(documentPath);
86 if (!acceleratorValid(documentPath, acceleratorPath))
87 acceleratorPath = null;
88 if (acceleratorPath != null)
89 doc = Document.openDocument(documentPath, acceleratorPath);
90 else
91 doc = Document.openDocument(documentPath);
92 needsPassword = doc.needsPassword();
93 }
94 public void run() {
95 ViewerCore.this.doc = doc;
96 ViewerCore.this.acceleratorPath = acceleratorPath;

Callers

nothing calls this directly

Calls 15

getAcceleratorPathMethod · 0.95
acceleratorValidMethod · 0.95
openDocumentMethod · 0.95
wasLinearizedMethod · 0.95
countVersionsMethod · 0.95
validateChangeHistoryMethod · 0.95
flattenOutlineMethod · 0.95
enableICCMethod · 0.95
disableICCMethod · 0.95
setAntiAliasLevelMethod · 0.95
searchMethod · 0.95
destroyMethod · 0.95

Tested by

no test coverage detected