public class Primary extends Content
| Constructor and Description |
|---|
Primary(org.rhq.plugins.platform.content.yum.Request request)
Construct the object with an active request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete the local content artifact.
|
long |
length() |
InputStream |
openStream() |
void |
writeContent(OutputStream ostr) |
void |
writeHeader(OutputStream ostr) |
public Primary(org.rhq.plugins.platform.content.yum.Request request)
request - An active yum request.public InputStream openStream() throws Exception
openStream in class ContentExceptionpublic void writeHeader(OutputStream ostr) throws Exception
writeHeader in class ContentExceptionpublic void writeContent(OutputStream ostr) throws Exception
writeContent in class ContentExceptionpublic void delete()
ContentCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.