*
* @author Dmitry Samoshin aka gotty
*/
-public class ChessHogScannerProperties {
+public class ScannerProperties {
/** Properties file. */
private static final String PROPERTIES_FILE = "scanner.properties";
* @param throwExc Flag indicating whether to throw an exception or not.
*/
public static void readProperties(String propsFile, Properties props, boolean throwExc) {
- try (InputStream is = ChessHogScannerProperties.class.getClassLoader().getResourceAsStream(propsFile))
+ try (InputStream is = ScannerProperties.class.getClassLoader().getResourceAsStream(propsFile))
{
if (is == null) {
if (throwExc) {
/**
* Private constructor.
*/
- private ChessHogScannerProperties() {
+ private ScannerProperties() {
}
}