(OCFContainer container)
| 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 | { |
no test coverage detected