code: public static String getTypeFromNewLink(String newLink) {
  
          String result = null;
          if (newLink.startsWith(NEW_LINK_IDENTIFIER) && newLink.contains("|")) {
              result = newLink.substring(newLink.lastIndexOf("|") + 1);
          }
  
          return result;
      }
docs: Returns the resource type name contained in the newLink parameter.<p>
  
  @param newLink the newLink parameter
  
  @return the resource type name