|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdekoh.portal.fwk.importer.ImportConfig
public class ImportConfig
ImportConfig stores the information required by ImportService for selecting files to
import.
| Constructor Summary | |
|---|---|
ImportConfig(RootFolder[] rootFolder,
FilenameFilter filenameFilter)
|
|
ImportConfig(RootFolder[] searchDirs,
FilenameFilter filenameFilter,
int numberOfFilesInBatch)
|
|
ImportConfig(RootFolder[] searchDirs,
FilenameFilter filenameFilter,
int totalFileCount,
int numberOfFilesInBatch)
|
|
| Method Summary | |
|---|---|
RootFolder[] |
getDirectories()
Gets the directories that need to be scanned to find matching files needed to be imported to Dekoh. |
FilenameFilter |
getFilenameFilter()
Gets the filter to be applied when getting list of files to import from a directory. |
int |
getNumberOfFilesInBatch()
Number of imported files to be batched to save to database in a Transaction. |
int |
getTotalFileCount(ImportProgressObject importProgressObject)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportConfig(RootFolder[] rootFolder,
FilenameFilter filenameFilter)
public ImportConfig(RootFolder[] searchDirs,
FilenameFilter filenameFilter,
int totalFileCount,
int numberOfFilesInBatch)
public ImportConfig(RootFolder[] searchDirs,
FilenameFilter filenameFilter,
int numberOfFilesInBatch)
searchDirs - filenameFilter - numberOfFilesInBatch - (optional, defaults to 10) all the files in a directory are saved to database unless
a directory contains large number of files. In such cases when a director may contain
lot of files, this parameter controls how many files can be batched in one attempt
to| Method Detail |
|---|
public RootFolder[] getDirectories()
public FilenameFilter getFilenameFilter()
public int getNumberOfFilesInBatch()
public int getTotalFileCount(ImportProgressObject importProgressObject)
|
Dekoh platform API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
© 2009 Pramati Technologies - Dekoh - Portal for Developers