MCPcopy Create free account
hub / github.com/w3c/epubcheck / asURL

Method asURL

src/main/java/com/adobe/epubcheck/ocf/OCFMetaFile.java:24–35  ·  view source on GitHub ↗
(OCFContainer container)

Source from the content-addressed store, hash-verified

22 }
23
24 public URL asURL(OCFContainer container)
25 {
26 Preconditions.checkArgument(container != null, "container must not be null");
27 assert container != null;
28 try
29 {
30 return container.getRootURL().resolve(path);
31 } catch (GalimatiasParseException e)
32 {
33 throw new AssertionError("Could not build meta file URL", e);
34 }
35 }
36
37 public EPUBLocation asLocation(OCFContainer container)
38 {

Callers 6

asLocationMethod · 0.95
isPresentMethod · 0.95
checkContainerFileMethod · 0.80
checkEncryptionFileMethod · 0.80
checkMimetypeFileMethod · 0.80
checkOtherMetaFilesMethod · 0.80

Calls 2

getRootURLMethod · 0.80
resolveMethod · 0.45

Tested by

no test coverage detected