Up: Component summary Component

FolderExtractor

Extracts files from a folder. The input is a folder containing a number of files, and up to nine of these files can be extracted to output ports. Extraction is done using file names.

Version 1.0
Bundle tools
Categories Convert
Specialties generic
Authors Kristian Ovaska (kristian.ovaska@helsinki.fi)
Issue tracker View/Report issues
Source files component.xml FolderExtractor.java
Usage Example with default values

Type parameters (generics)

Inputs

Name Type Mandatory Description
folder BinaryFolder Mandatory Input folder.

Outputs

Name Type Description
file1 T1 (generic) Output file 1. If filename1 is empty, this file is empty.
file2 T2 (generic) Output file 2. If filename2 is empty, this file is empty.
file3 T3 (generic) Output file 3. If filename3 is empty, this file is empty.
file4 T4 (generic) Output file 4. If filename4 is empty, this file is empty.
file5 T5 (generic) Output file 5. If filename5 is empty, this file is empty.
file6 T6 (generic) Output file 6. If filename6 is empty, this file is empty.
file7 T7 (generic) Output file 7. If filename7 is empty, this file is empty.
file8 T8 (generic) Output file 8. If filename8 is empty, this file is empty.
file9 T9 (generic) Output file 9. If filename9 is empty, this file is empty.

Parameters

Name Type Default Description
filename1 string (no default) Filename for extraction, corresponding to output file1. If empty, the corresponding output is an empty file.
filename2 string "" Filename for extraction, corresponding to output file2. If empty, the corresponding output is an empty file.
filename3 string "" Filename for extraction, corresponding to output file3. If empty, the corresponding output is an empty file.
filename4 string "" Filename for extraction, corresponding to output file4. If empty, the corresponding output is an empty file.
filename5 string "" Filename for extraction, corresponding to output file5. If empty, the corresponding output is an empty file.
filename6 string "" Filename for extraction, corresponding to output file6. If empty, the corresponding output is an empty file.
filename7 string "" Filename for extraction, corresponding to output file7. If empty, the corresponding output is an empty file.
filename8 string "" Filename for extraction, corresponding to output file8. If empty, the corresponding output is an empty file.
filename9 string "" Filename for extraction, corresponding to output file9. If empty, the corresponding output is an empty file.

Test cases

Test case Parameters IN
folder
OUT
file1
OUT
file2
OUT
file3
OUT
file4
OUT
file5
OUT
file6
OUT
file7
OUT
file8
OUT
file9
case1 properties folder file1 file2 file3 file4 file5 file6 file7 file8 file9

filename1=f3.csv,
filename2=f7,
filename3=f2.txt,
filename4=f1,
filename5=f2.txt

case2 properties folder file1 file2 file3 file4 file5 file6 file7 file8 file9

filename1=,
filename6=f1,
filename7=f2.txt,
filename8=f7,
filename9=f2.txt


Generated 2018-12-11 07:42:06 by Anduril 2.0.0