@Test public void entryNotFound() { InputStream project = getClass().getResourceAsStream(SONATYPE_ZIP); InputStream response = underTest.extractFile(project, "does_not_exist.txt"); assertThat(response, is(nullValue())); }
@Nullable public InputStream extractFile(final InputStream projectAsStream, final String fileName) { return extract(projectAsStream, fileName, this::fetchFileAsStream); }
CompressedContentExtractor extends ComponentSupport { @Nullable public InputStream extractFile(final InputStream projectAsStream, final String fileName) { return extract(projectAsStream, fileName, this::fetchFileAsStream); } }
CompressedContentExtractor extends ComponentSupport { @Nullable public InputStream extractFile(final InputStream projectAsStream, final String fileName) { return extract(projectAsStream, fileName, this::fetchFileAsStream); }  }
CompressedContentExtractor extends ComponentSupport { @Nullable public InputStream extractFile(final InputStream projectAsStream, final String fileName) { return extract(projectAsStream, fileName, this::fetchFileAsStream); }  @Nullable InputStream extractFile(final InputStream projectAsStream, final String fileName); boolean fileExists(final Payload payload, final String path, final String fileName); }
CompressedContentExtractor extends ComponentSupport { @Nullable public InputStream extractFile(final InputStream projectAsStream, final String fileName) { return extract(projectAsStream, fileName, this::fetchFileAsStream); }  @Nullable InputStream extractFile(final InputStream projectAsStream, final String fileName); boolean fileExists(final Payload payload, final String path, final String fileName);  }