Class MetadataXpp3Writer
- java.lang.Object
-
- org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Writer
-
public class MetadataXpp3Writer extends Object
Class MetadataXpp3Writer.- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description MetadataXpp3Writer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setFileComment(String fileComment)
Method setFileComment.void
write(OutputStream stream, Metadata metadata)
Method write.void
write(Writer writer, Metadata metadata)
Method write.
-
-
-
Method Detail
-
setFileComment
public void setFileComment(String fileComment)
Method setFileComment.- Parameters:
fileComment
- a fileComment object.
-
write
public void write(Writer writer, Metadata metadata) throws IOException
Method write.- Parameters:
writer
- a writer object.metadata
- a metadata object.- Throws:
IOException
- java.io.IOException if any.
-
write
public void write(OutputStream stream, Metadata metadata) throws IOException
Method write.- Parameters:
stream
- a stream object.metadata
- a metadata object.- Throws:
IOException
- java.io.IOException if any.
-
-