Class CatalogArchetypeDataSource
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.archetype.source.CatalogArchetypeDataSource
- All Implemented Interfaces:
ArchetypeDataSource
,org.codehaus.plexus.logging.LogEnabled
- Direct Known Subclasses:
InternalCatalogArchetypeDataSource
,LocalCatalogArchetypeDataSource
,RemoteCatalogArchetypeDataSource
public abstract class CatalogArchetypeDataSource
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArchetypeDataSource
- Author:
- Jason van Zyl
-
Field Summary
Fields inherited from interface org.apache.maven.archetype.source.ArchetypeDataSource
ARCHETYPE_CATALOG_FILENAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ArchetypeCatalog
readCatalog
(Reader reader) protected void
writeLocalCatalog
(ArchetypeCatalog catalog, File catalogFile) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.archetype.source.ArchetypeDataSource
getArchetypeCatalog, updateCatalog
-
Constructor Details
-
CatalogArchetypeDataSource
public CatalogArchetypeDataSource()
-
-
Method Details
-
writeLocalCatalog
protected void writeLocalCatalog(ArchetypeCatalog catalog, File catalogFile) throws ArchetypeDataSourceException - Throws:
ArchetypeDataSourceException
-
readCatalog
- Throws:
ArchetypeDataSourceException
-