/** * Setter accessor for attribute 'locations'. * * @param locations * new value for 'locations ' */ public void setLocation(String locations) { loadConfFile(locations); }
/** * Constructor with configuration fileName. * * @param fileName * fileName present in classPath or on fileSystem. */ public InMemoryPropertyStore(String fileName) { if (fileName == null || fileName.isEmpty()) { throw new IllegalArgumentException( "fileName is required, cannot be null nor empty : the file must exist in classpath"); } loadConfFile(fileName); }