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.Transportpublic 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.Transportpublic 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.Transportjava.io.FileNotFoundExceptionorg.eclipse.core.runtime.CoreExceptionorg.eclipse.equinox.internal.p2.repository.AuthenticationFailedExceptionpublic 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.Transportorg.eclipse.core.runtime.CoreExceptionjava.io.FileNotFoundExceptionorg.eclipse.equinox.internal.p2.repository.AuthenticationFailedException