public class CsvKeywordReader extends Object implements IKeywordReader
CsvKeywordReader supports reading CSV based keyword files.| Constructor and Description |
|---|
CsvKeywordReader() |
| 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)
IKeywordReaderisSupported in interface IKeywordReaderfile - - 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)
IKeywordReaderIKeywordStore objectreadFile in interface IKeywordReaderfile - - That contains the keywords and respective argumentsList containing the IKeywordStore object.public List<IKeywordStore> readFile(File file, String... args)
IKeywordReaderIKeywordStore objectreadFile in interface IKeywordReaderfile - - 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.