TFecLog.log("get device names from " + getLocalName() + "-devices.csv : " + TErrorList.errorString[rc]);
return rc;
}
public int getRegisteredNamesFromPropertyFile(String propertyName)
{
TInitializer initializer = TInitializerFactory.getInstance().getInitializer();
TExportProperty prp = propertyList.getFirstProperty(propertyName);
String devFileName = propertyName + "-names.csv";
csv devNamesFile = new csv(initializer.getFecHome()+File.separator+getLocalName()+File.separator+devFileName);
int rc = devNamesFile == null ?
TErrorList.file_error :
getRegisteredDevicesFromFile(devNamesFile,new devNameRowHndlr(prp));
if (rc == TErrorList.no_such_file)
{
devNamesFile = new csv(initializer.getFecHome()+File.separator+devFileName);
rc = devNamesFile == null ?
TErrorList.file_error :
getRegisteredDevicesFromFile(devNamesFile,new devNameRowHndlr(prp));
}
if (rc != TErrorList.no_such_file)