public class FileSolutionRepositoryImportSource extends AbstractImportSource
ImportSource.IRepositoryFileBundle
Constructor and Description |
---|
FileSolutionRepositoryImportSource(File sourceFile,
String charSet) |
FileSolutionRepositoryImportSource(File sourceFile,
String filename,
String charSet) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFileToList(File currentFile,
boolean extractFilename) |
int |
getCount()
Returns the number of files to process (or -1 if that is not known)
|
protected ImportSource.IRepositoryFileBundle |
getFile(File currentFile,
String filename) |
Iterable<ImportSource.IRepositoryFileBundle> |
getFiles()
Returns the set of files available by this Import Source.
|
protected String |
getRepositoryPath(File currentFile) |
getMimeType
public FileSolutionRepositoryImportSource(File sourceFile, String charSet)
public Iterable<ImportSource.IRepositoryFileBundle> getFiles()
ImportSource
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)public int getCount()
protected void addFileToList(File currentFile, boolean extractFilename)
protected ImportSource.IRepositoryFileBundle getFile(File currentFile, String filename)
Copyright © 2019 Hitachi Vantara. All rights reserved.