public static class ArgumentExtractors.FileParamExtractor extends Object implements ArgumentExtractor<File>
Constructor and Description |
---|
FileParamExtractor(Param param) |
Modifier and Type | Method and Description |
---|---|
File |
extract(Context context)
Extract the argument from the context
|
Class<File> |
getExtractedType()
Get the type of the argument that is extracted
|
String |
getFieldName()
Get the field name that is being extracted, if this value is
extracted from a field
|
public FileParamExtractor(Param param)
public File extract(Context context)
ArgumentExtractor
extract
in interface ArgumentExtractor<File>
context
- The argument to extractpublic Class<File> getExtractedType()
ArgumentExtractor
getExtractedType
in interface ArgumentExtractor<File>
public String getFieldName()
ArgumentExtractor
getFieldName
in interface ArgumentExtractor<File>
Copyright © 2019 ninjaframework. All rights reserved.