Community
Participate
Working Groups
public InputStream getInputStream() throws IOException {
if (in == null && url != null) {
connection = url.openConnection();
if (connection == null)
if (offset > 0)
connection.setRequestProperty("Range", "bytes=" + offset + "-"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
in = connection.getInputStream();
public InputStream getInputStream(IProgressMonitor monitor)
throws IOException, CoreException {