Class GitImporter
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.importer.Importer
-
- de.unirostock.sems.cbarchive.web.importer.GitImporter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class GitImporter extends Importer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.unirostock.sems.cbarchive.web.importer.Importer
Importer.DefaultNameTransformer, Importer.GitNameTransformer, Importer.ImportVCard
-
-
Field Summary
-
Fields inherited from class de.unirostock.sems.cbarchive.web.importer.Importer
IMPORT_GIT, IMPORT_HTTP, remoteUrl, tempFile, user
-
-
Constructor Summary
Constructors Constructor Description GitImporter(ArchiveFromGit archive, UserManager user)
GitImporter(String remoteUrl)
GitImporter(String remoteUrl, UserManager user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
GitImporter
importRepo()
-
Methods inherited from class de.unirostock.sems.cbarchive.web.importer.Importer
createTempDir, getImporter, getImporter, getRemoteUrl, getSuggestedName, getTempFile, isImportable
-
-
-
-
Constructor Detail
-
GitImporter
public GitImporter(ArchiveFromGit archive, UserManager user)
-
GitImporter
public GitImporter(String remoteUrl, UserManager user)
-
GitImporter
public GitImporter(String remoteUrl)
-
-
Method Detail
-
importRepo
public GitImporter importRepo() throws ImporterException
- Specified by:
importRepo
in classImporter
- Throws:
ImporterException
-
-