code: public static String getConflicts(File directory) throws IOException {
          try (InputStream stream = getPendingCheckins(directory)) {
              StringBuilder result = new StringBuilder();
              List<String> lines = IOUtils.readLines(stream, "UTF-8");
              for (String line : lines) {
                  // first char "C" is a normal conflict, C at second position is a property-conflict
                  if (line.length() >= 2 &&
                          (line.charAt(0) == 'C' || line.charAt(1) == 'C')) {
                      result.append(line).append("\n");
                  }
              }
              return result.toString();
          }
      }
docs: Performs a "svn status" and returns any conflicting change that is found in the svn tree at the given directory
  in the format that the svn command provides them (including the leading 'C').
  
  @param directory The local working directory
  @return A stream which returns the textual list of conflicts as reported by "svn status"
  @throws IOException Execution of the SVN sub-process failed or the
  sub-process returned a exit value indicating a failure