Class StreamRawArtifactSink
- java.lang.Object
-
- org.eclipse.tycho.repository.p2base.artifact.provider.streaming.StreamArtifactSink
-
- org.eclipse.tycho.repository.p2base.artifact.provider.streaming.StreamRawArtifactSink
-
- All Implemented Interfaces:
IArtifactSink
,IRawArtifactSink
final class StreamRawArtifactSink extends StreamArtifactSink implements IRawArtifactSink
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor
requestedDescriptor
-
Constructor Summary
Constructors Constructor Description StreamRawArtifactSink(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor requestedDescriptor, java.io.OutputStream destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor
getArtifactFormatToBeWritten()
Returns the format (and key) of the artifact to be written.-
Methods inherited from class org.eclipse.tycho.repository.p2base.artifact.provider.streaming.StreamArtifactSink
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.tycho.repository.p2base.artifact.provider.streaming.IArtifactSink
abortWrite, beginWrite, canBeginWrite, commitWrite, getArtifactToBeWritten
-
-
-
-
Method Detail
-
getArtifactFormatToBeWritten
public org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor getArtifactFormatToBeWritten()
Description copied from interface:IRawArtifactSink
Returns the format (and key) of the artifact to be written.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.- Specified by:
getArtifactFormatToBeWritten
in interfaceIRawArtifactSink
-
-