Package org.dspace.app.itemimport
Class BatchUpload
- java.lang.Object
-
- org.dspace.app.itemimport.BatchUpload
-
public class BatchUpload extends Object
- Author:
- kstamatis
-
-
Constructor Summary
Constructors Constructor Description BatchUpload(File dir)Initialize with directoryBatchUpload(String dirPath)Initialize with directory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Get dateStringgetDateFormatted()Get formatted date (DD/MM/YY)FilegetDir()Get path to directoryStringgetErrorMsg()Get error messageStringgetErrorMsgHTML()Get error message as HTMLList<String>getHandlesImported()Get handles of imported filesintgetItemsImported()Get items importedintgetTotalItems()Get total itemsbooleanisSuccessful()Whether successulf
-
-
-
Method Detail
-
getDate
public Date getDate()
Get date- Returns:
- Date
-
getDir
public File 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
public String getDateFormatted()
Get formatted date (DD/MM/YY)- Returns:
- date as string
-
getHandlesImported
public List<String> getHandlesImported()
Get handles of imported files- Returns:
- list of handles
-
getErrorMsg
public String getErrorMsg()
Get error message- Returns:
- error message
-
getErrorMsgHTML
public String getErrorMsgHTML()
Get error message as HTML- Returns:
- error message string as HTML
-
-