public String getUrlForPost() throws UnsupportedEncodingException {
   StringBuilder sb = new StringBuilder();
   sb.append(getBaseServiceUrl());
   sb.append("/");
   sb.append(SVC_BASE);
   return sb.toString();
 }
 public EmailContent(String fileName) throws URISyntaxException, IOException {
   URL entry = GitActivator.getDefault().getBundleContext().getBundle().getEntry(fileName);
   if (entry == null) throw new IOException("File not found: " + fileName);
   BufferedReader reader = new BufferedReader(new InputStreamReader(entry.openStream()));
   String line = null;
   try {
     title = reader.readLine();
     StringBuilder stringBuilder = new StringBuilder();
     String ls = System.getProperty("line.separator");
     while ((line = reader.readLine()) != null) {
       stringBuilder.append(line);
       stringBuilder.append(ls);
     }
     content = stringBuilder.toString();
   } finally {
     reader.close();
   }
 }
 public String getUrlForFindByRepoBranchCommit() throws UnsupportedEncodingException {
   StringBuilder sb = new StringBuilder();
   sb.append(getBaseServiceUrl());
   sb.append("/");
   sb.append(SVC_BASE);
   sb.append("/");
   sb.append(SVC_FINDBY_REPO_BRANCH_COMMITID);
   // TODO: Convert any "//" to "/" Look at main()
   return sb.toString();
 }