org.rhq.plugins.platform.content.yum
Class Primary
java.lang.Object
org.rhq.plugins.platform.content.yum.Content
org.rhq.plugins.platform.content.yum.Primary
public class Primary
- extends Content
Represents the primary yum metadata file (primary.xml).
- Author:
- jortel
|
Constructor Summary |
Primary(org.rhq.plugins.platform.content.yum.Request request)
Construct the object with an active request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Primary
public Primary(org.rhq.plugins.platform.content.yum.Request request)
- Construct the object with an active request.
- Parameters:
request - An active yum request.
openStream
public InputStream openStream()
throws Exception
- Specified by:
openStream in class Content
- Throws:
Exception
writeHeader
public void writeHeader(OutputStream ostr)
throws Exception
- Specified by:
writeHeader in class Content
- Throws:
Exception
writeContent
public void writeContent(OutputStream ostr)
throws Exception
- Specified by:
writeContent in class Content
- Throws:
Exception
delete
public void delete()
- Description copied from class:
Content
- Delete the local content artifact.
- Overrides:
delete in class Content
length
public long length()
throws Exception
- Specified by:
length in class Content
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.