org.rhq.plugins.platform.content.yum
Class Repomd
java.lang.Object
org.rhq.plugins.platform.content.yum.Content
org.rhq.plugins.platform.content.yum.Repomd
public class Repomd
- extends Content
Represends the yum repomd.xml file. This file contains information about the other metadata files.
- Author:
- jortel
|
Constructor Summary |
Repomd(org.rhq.plugins.platform.content.yum.Request request)
Construct with an active yum request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Repomd
public Repomd(org.rhq.plugins.platform.content.yum.Request request)
- Construct with an active yum 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
length
public long length()
throws Exception
- Specified by:
length in class Content
- Throws:
Exception
delete
public void delete()
- Description copied from class:
Content
- Delete the local content artifact.
- Overrides:
delete in class Content
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.