public class ExcelKeywordReader extends Object implements IKeywordReader
ExcelKeywordReader
supports reading Excel based keyword files.Constructor and Description |
---|
ExcelKeywordReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported(File file)
Should return true or false based on the criteria whether
the said file is supported or not.
|
List<IKeywordStore> |
readFile(File file)
Parses the particular file and returns a List containing the
IKeywordStore object |
List<IKeywordStore> |
readFile(File file,
String... args)
Parses the particular file and returns a List containing the
IKeywordStore object |
public boolean isSupported(File file)
IKeywordReader
isSupported
in interface IKeywordReader
file
- - That contains the keywords and respective argumentstrue
or false
depending upon whether
file is supported by the said class or not.public List<IKeywordStore> readFile(File file)
IKeywordReader
IKeywordStore
objectreadFile
in interface IKeywordReader
file
- - That contains the keywords and respective argumentsList
containing the IKeywordStore
object.public List<IKeywordStore> readFile(File file, String... args)
IKeywordReader
IKeywordStore
objectreadFile
in interface IKeywordReader
file
- - That contains the keywords and respective argumentsargs
- - Any extra arguments that may be passed as part of the reading task.List
containing the IKeywordStore
object.Copyright © 2014. All rights reserved.