class OfflineTransport
extends org.eclipse.equinox.internal.p2.repository.Transport
Modifier and Type | Field and Description |
---|---|
private static org.eclipse.core.runtime.Status |
OFFLINE_STATUS |
Constructor and Description |
---|
OfflineTransport() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
download(java.net.URI toDownload,
java.io.OutputStream target,
org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.core.runtime.IStatus |
download(java.net.URI toDownload,
java.io.OutputStream target,
long startPos,
org.eclipse.core.runtime.IProgressMonitor monitor) |
long |
getLastModified(java.net.URI toDownload,
org.eclipse.core.runtime.IProgressMonitor monitor) |
java.io.InputStream |
stream(java.net.URI toDownload,
org.eclipse.core.runtime.IProgressMonitor monitor) |
public org.eclipse.core.runtime.IStatus download(java.net.URI toDownload, java.io.OutputStream target, long startPos, org.eclipse.core.runtime.IProgressMonitor monitor)
download
in class org.eclipse.equinox.internal.p2.repository.Transport
public org.eclipse.core.runtime.IStatus download(java.net.URI toDownload, java.io.OutputStream target, org.eclipse.core.runtime.IProgressMonitor monitor)
download
in class org.eclipse.equinox.internal.p2.repository.Transport
public java.io.InputStream stream(java.net.URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws java.io.FileNotFoundException, org.eclipse.core.runtime.CoreException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
stream
in class org.eclipse.equinox.internal.p2.repository.Transport
java.io.FileNotFoundException
org.eclipse.core.runtime.CoreException
org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
public long getLastModified(java.net.URI toDownload, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException, java.io.FileNotFoundException, org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException
getLastModified
in class org.eclipse.equinox.internal.p2.repository.Transport
org.eclipse.core.runtime.CoreException
java.io.FileNotFoundException
org.eclipse.equinox.internal.p2.repository.AuthenticationFailedException