org.apache.maven.dotnet.repository.impl
Class RepositoryConverterImpl
java.lang.Object
org.apache.maven.dotnet.repository.impl.RepositoryConverterImpl
- All Implemented Interfaces:
- RepositoryConverter
public class RepositoryConverterImpl
- extends java.lang.Object
- implements RepositoryConverter
Implementation of the RepositoryConverter.
Method Summary |
void |
convertRepositoryFormat(org.openrdf.repository.Repository repository,
java.io.File mavenRepository)
Converts the specified RDF repository into the default local repository format. |
void |
convertRepositoryFormatFor(org.apache.maven.artifact.Artifact artifact,
ApplicationConfig applicationConfig,
org.openrdf.repository.Repository repository,
java.io.File mavenRepository)
|
protected void |
initTest(DataAccessObjectRegistry daoRegistry,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.manager.WagonManager wagonManager)
Used my unit tests to initialize the objects that plexus injects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryConverterImpl
public RepositoryConverterImpl()
initTest
protected void initTest(DataAccessObjectRegistry daoRegistry,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.manager.WagonManager wagonManager)
- Used my unit tests to initialize the objects that plexus injects
- Parameters:
daoRegistry
- the data access object registry used for finding DAO objectsartifactFactory
- the artifact factory used to create artifactswagonManager
- the manager used to download artifacts
convertRepositoryFormat
public void convertRepositoryFormat(org.openrdf.repository.Repository repository,
java.io.File mavenRepository)
throws java.io.IOException
- Description copied from interface:
RepositoryConverter
- Converts the specified RDF repository into the default local repository format.
- Specified by:
convertRepositoryFormat
in interface RepositoryConverter
- Parameters:
repository
- the RDF repositorymavenRepository
- the base directory where the converted repository, with the default local repository
format, should be placed
- Throws:
java.io.IOException
- if there is a problem in converting the repository- See Also:
RepositoryConverter.convertRepositoryFormat(org.openrdf.repository.Repository, java.io.File)
convertRepositoryFormatFor
public void convertRepositoryFormatFor(org.apache.maven.artifact.Artifact artifact,
ApplicationConfig applicationConfig,
org.openrdf.repository.Repository repository,
java.io.File mavenRepository)
throws java.io.IOException
- Specified by:
convertRepositoryFormatFor
in interface RepositoryConverter
- Throws:
java.io.IOException
Copyright © 2007 NMaven. All Rights Reserved.