final class StreamRawArtifactSink extends StreamArtifactSink implements IRawArtifactSink
Modifier and Type | Field and Description |
---|---|
private org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor |
requestedDescriptor |
Constructor and Description |
---|
StreamRawArtifactSink(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor,
java.io.OutputStream destination) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor |
getArtifactFormatToBeWritten()
Returns the format (and key) of the artifact to be written.
|
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
private org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor
StreamRawArtifactSink(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor, java.io.OutputStream destination)
public org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
IRawArtifactSink
Note: The artifact key that can be obtained via this method is the same as the key returned
by IArtifactSink.getArtifactToBeWritten()
, i.e.
sink.getArtifactDescriptorToBeWritten().getArtifactKey().equals(sink.getArtifactToBeWritten())
holds true.
getArtifactFormatToBeWritten
in interface IRawArtifactSink