org.dspace.app.itemimport
Class ItemImport

java.lang.Object
  extended by org.dspace.app.itemimport.ItemImport

public class ItemImport
extends Object

Import items into DSpace. The conventional use is upload files by copying them. DSpace writes the item's bitstreams into its assetstore. Metadata is also loaded to the DSpace database.

A second use assumes the bitstream files already exist in a storage resource accessible to DSpace. In this case the bitstreams are 'registered'. That is, the metadata is loaded to the DSpace database and DSpace is given the location of the file which is subsumed into DSpace.

The distinction is controlled by the format of lines in the 'contents' file. See comments in processContentsFile() below.

Modified by David Little, UCSD Libraries 12/21/04 to allow the registration of files (bitstreams) into DSpace.


Constructor Summary
ItemImport()
           
 
Method Summary
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemImport

public ItemImport()
Method Detail

main

public static void main(String[] argv)
                 throws Exception
Throws:
Exception


Copyright © 2010 DuraSpace. All Rights Reserved.