private static ConnectionSource _getConnectionSource() throws SQLException {
    if (_connectionSource != null) {
      return _connectionSource;
    }

    StringBuilder sb = new StringBuilder(5);

    sb.append("jdbc:h2:");
    sb.append(PropsValues.SYNC_CONFIGURATION_DIRECTORY);

    FileSystem fileSystem = FileSystems.getDefault();

    sb.append(fileSystem.getSeparator());

    sb.append(PropsValues.SYNC_DATABASE_NAME);
    sb.append(";AUTO_SERVER=TRUE");

    _connectionSource = new JdbcPooledConnectionSource(sb.toString());

    return _connectionSource;
  }
  public static void readTargetFile(String path)
      throws ParserConfigurationException, SAXException, IOException {
    FileSystem fileSystem = FileSystems.getDefault();
    String sep = fileSystem.getSeparator();
    String newPath = "";

    try {
      newPath = path.replaceAll("\\\\", sep);
    } catch (Exception e) {
    }

    try {
      newPath = newPath.replaceAll("/", sep);
    } catch (Exception e2) {
    }

    File fXmlFile = new File(newPath);
    DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
    doc = dBuilder.parse(fXmlFile);
  }