Class FileSolutionRepositoryImportSource

    • Constructor Detail

      • FileSolutionRepositoryImportSource

        public FileSolutionRepositoryImportSource​(File sourceFile,
                                                  String charSet)
      • FileSolutionRepositoryImportSource

        public FileSolutionRepositoryImportSource​(File sourceFile,
                                                  String filename,
                                                  String charSet)
    • Method Detail

      • getFiles

        public Iterable<ImportSource.IRepositoryFileBundle> getFiles()
        Description copied from interface: ImportSource
        Returns the set of files available by this Import Source.

        NOTE: the Iterable object MUST support the Iterator.remove() method as the consumer of this information will be iterating over the data and will remove items that they process (and shouldn't be processed by down-stream consumers)
      • getCount

        public int getCount()
        Returns the number of files to process (or -1 if that is not known)
      • addFileToList

        protected void addFileToList​(File currentFile,
                                     boolean extractFilename)
      • getRepositoryPath

        protected String getRepositoryPath​(File currentFile)