@Override public InputStream getInputStream() throws IOException { String path = url.getPath(); byte[] data = profile.getFileConfiguration(path); if (data == null) { throw new FileNotFoundException(url.toExternalForm()); } return new ByteArrayInputStream(data); } };
@Override public InputStream getInputStream() throws IOException { String path = url.getPath(); byte[] data = profile.getFileConfiguration(path); if (data == null) { throw new FileNotFoundException(url.toExternalForm()); } return new ByteArrayInputStream(data); } };