code: private String calculateClass(String fieldValue) {
          // NOTE; This is just a silly example to illustrate what can be done.
          if (fieldValue.startsWith("/1-500e-KWh")) {
              return "PowerTick";
          }
          if (fieldValue.endsWith(".html")) {
              return "Page";
          }
          if (fieldValue.endsWith(".gif")) {
              return "Image";
          }
          if (fieldValue.endsWith(".css")) {
              return "StyleSheet";
          }
          if (fieldValue.endsWith(".js")) {
              return "Script";
          }
          if (fieldValue.endsWith("_form")) {
              return "HackAttempt";
          }
          return "Other";
      }
docs: --------------------------------------------