Class BatchUpload


  • public class BatchUpload
    extends Object
    Author:
    kstamatis
    • Constructor Detail

      • BatchUpload

        public BatchUpload​(String dirPath)
        Initialize with directory
        Parameters:
        dirPath - directory path
      • BatchUpload

        public BatchUpload​(File dir)
        Initialize with directory
        Parameters:
        dir - directory path
    • 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