Package org.dspace.app.itemimport
Class BatchUpload
java.lang.Object
org.dspace.app.itemimport.BatchUpload
- Author:
- kstamatis
-
Constructor Summary
ConstructorsConstructorDescriptionBatchUpload(File dir) Initialize with directoryBatchUpload(String dirPath) Initialize with directory -
Method Summary
-
Constructor Details
-
BatchUpload
Initialize with directory- Parameters:
dirPath- directory path
-
BatchUpload
Initialize with directory- Parameters:
dir- directory path
-
-
Method Details
-
getDate
Get date- Returns:
- Date
-
getDir
Get path to directory- Returns:
- directory
-
isSuccessful
public boolean isSuccessful()Whether successulf- Returns:
- true or false
-
getItemsImported
public int getItemsImported()Get items imported- Returns:
- number of items
-
getTotalItems
public int getTotalItems()Get total items- Returns:
- total
-
getDateFormatted
Get formatted date (YYYY-MM-DDThh:mm:ssZ)- Returns:
- date as string
-
getHandlesImported
Get handles of imported files- Returns:
- list of handles
-
getErrorMsg
Get error message- Returns:
- error message
-
getErrorMsgHTML
Get error message as HTML- Returns:
- error message string as HTML
-