public class PropertiesLocatorFile extends Object implements ILocatorFile
Constructor and Description |
---|
PropertiesLocatorFile() |
Modifier and Type | Method and Description |
---|---|
String |
getLocatorFor(String keyword)
Gets the respective locator for the keyword from the locator file.
|
boolean |
isSupported(File file)
Utility to know whether the said type of locator storing file is supported
by the particular implementation or not.
|
void |
loadFile(File file)
Load the respective file for parsing if the implementation class supports
the particular file.
|
public String getLocatorFor(String keyword)
ILocatorFile
getLocatorFor
in interface ILocatorFile
keyword
- For which the locator have to be fetchedpublic boolean isSupported(File file)
ILocatorFile
isSupported
in interface ILocatorFile
file
- File object of the file which have to checked whether its supported or not.public void loadFile(File file)
ILocatorFile
loadFile
in interface ILocatorFile
file
- File object of the locator file that have to be loaded.Copyright © 2014. All rights reserved.