org.apache.maven.archetype.common
Class DefaultArchetypeRegistryManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.archetype.common.DefaultArchetypeRegistryManager
- All Implemented Interfaces:
- ArchetypeRegistryManager, org.codehaus.plexus.logging.LogEnabled
public class DefaultArchetypeRegistryManager
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ArchetypeRegistryManager
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 |
DefaultArchetypeRegistryManager
public DefaultArchetypeRegistryManager()
getArchetypeGroups
public List getArchetypeGroups(File archetypeRegistryFile)
- Specified by:
getArchetypeGroups
in interface ArchetypeRegistryManager
getFilteredExtensions
public List getFilteredExtensions(String archetypeFilteredExtentions,
File archetypeRegistryFile)
throws IOException
- Specified by:
getFilteredExtensions
in interface ArchetypeRegistryManager
- Throws:
IOException
getLanguages
public List getLanguages(String archetypeLanguages,
File archetypeRegistryFile)
throws IOException
- Specified by:
getLanguages
in interface ArchetypeRegistryManager
- Throws:
IOException
readArchetypeRegistry
public org.apache.maven.archetype.registry.ArchetypeRegistry readArchetypeRegistry(File archetypeRegistryFile)
throws IOException,
FileNotFoundException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Specified by:
readArchetypeRegistry
in interface ArchetypeRegistryManager
- Throws:
IOException
FileNotFoundException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
getRepositories
public List getRepositories(List pomRemoteRepositories,
String remoteRepositories,
File archetypeRegistryFile)
throws IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Specified by:
getRepositories
in interface ArchetypeRegistryManager
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
writeArchetypeRegistry
public void writeArchetypeRegistry(File archetypeRegistryFile,
org.apache.maven.archetype.registry.ArchetypeRegistry archetypeRegistry)
throws IOException
- Specified by:
writeArchetypeRegistry
in interface ArchetypeRegistryManager
- Throws:
IOException
addGroup
public void addGroup(String group,
File archetypeRegistryFile)
throws IOException,
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Specified by:
addGroup
in interface ArchetypeRegistryManager
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.