public class CatalogArchetypeDataSink extends org.codehaus.plexus.logging.AbstractLogEnabled implements ArchetypeDataSink
Modifier and Type | Field and Description |
---|---|
private ArchetypeCatalogXpp3Writer |
catalogWriter |
Constructor and Description |
---|
CatalogArchetypeDataSink() |
Modifier and Type | Method and Description |
---|---|
void |
putArchetypes(ArchetypeDataSource source,
java.util.Properties properties,
java.io.Writer writer) |
void |
putArchetypes(java.util.List<Archetype> archetypes,
java.io.Writer writer) |
private ArchetypeCatalogXpp3Writer catalogWriter
public void putArchetypes(java.util.List<Archetype> archetypes, java.io.Writer writer) throws ArchetypeDataSinkException
putArchetypes
in interface ArchetypeDataSink
ArchetypeDataSinkException
public void putArchetypes(ArchetypeDataSource source, java.util.Properties properties, java.io.Writer writer) throws ArchetypeDataSourceException, ArchetypeDataSinkException
putArchetypes
in interface ArchetypeDataSink
ArchetypeDataSourceException
ArchetypeDataSinkException