|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.client.utility.ingest.Ingest
public class Ingest
Initiates ingest of one or more objects. This class provides static utility methods, and it is also called by command line utilities.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary | |
|---|---|
static String |
LAST_PATH
|
| Constructor Summary | |
|---|---|
Ingest()
|
|
| Method Summary | |
|---|---|
static void |
badArgs(String msg)
Print error message and show usage for command-line interface. |
static String |
getDuration(long millis)
|
static String |
getExportFormat(RepositoryInfo repoinfo)
Determine the default export format of the source repository. |
static void |
main(String[] args)
Command-line interface for doing ingests. |
static void |
multiFromDirectory(File dir,
String ingestFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage,
PrintStream log,
IngestCounter c)
Ingest from directory |
static void |
multiFromRepository(String sourceProtocol,
String sourceHost,
int sourcePort,
FedoraAPIAMTOM sourceRepoAPIA,
FedoraAPIMMTOM sourceRepoAPIM,
String sourceExportFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage,
PrintStream log,
IngestCounter c)
|
static String |
oneFromFile(File file,
String ingestFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage)
|
static String |
oneFromRepository(FedoraAPIAMTOM sourceRepoAPIA,
FedoraAPIMMTOM sourceRepoAPIM,
String sourceExportFormat,
String pid,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage)
Ingest from repository |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String LAST_PATH
| Constructor Detail |
|---|
public Ingest()
| Method Detail |
|---|
public static String oneFromFile(File file,
String ingestFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage)
throws Exception
Exception
public static void multiFromDirectory(File dir,
String ingestFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage,
PrintStream log,
IngestCounter c)
throws Exception
Exception
public static String oneFromRepository(FedoraAPIAMTOM sourceRepoAPIA,
FedoraAPIMMTOM sourceRepoAPIM,
String sourceExportFormat,
String pid,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage)
throws Exception
Exception
public static void multiFromRepository(String sourceProtocol,
String sourceHost,
int sourcePort,
FedoraAPIAMTOM sourceRepoAPIA,
FedoraAPIMMTOM sourceRepoAPIM,
String sourceExportFormat,
FedoraAPIAMTOM targetRepoAPIA,
FedoraAPIMMTOM targetRepoAPIM,
String logMessage,
PrintStream log,
IngestCounter c)
throws Exception
Exception
public static String getExportFormat(RepositoryInfo repoinfo)
throws Exception
Exceptionpublic static String getDuration(long millis)
public static void badArgs(String msg)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||