code: private static void loadWhitelist(InputStream input) {
          String content;
          try {
              content = IoUtils.toString(input);
          } catch (IOException e) {
              throw new RuntimeException("Error loading the whitelist input", e);
          }
  
          whiteClassNames = new HashSet<>();
          whiteRegEx = new HashSet<>();
  
          String[] lines = content.split("[\\r\\n]+");
          for (String line : lines) {
              // check for comment
              if (line.startsWith("#")) {
                  // it's a comment; ignore line
                  continue;
              }
  
              if (line.startsWith(">")) {
                  // it's a regexp
                  addWhiteRegEx(line.substring(1).trim());
              } else {
                  // it's a regular (full) class name
                  addWhiteClassName(line.trim());
              }
          }
      }
docs: Load the whitelist from an {@link InputStream}.
  The content of the {@code InputStream} is in format:
  {@code
  # Java
  java.util.ArrayList
  java.util.HashMap
  # A regular expression whitelisting the whole "java.lang" package and its sub-packages
  >java.lang.*
  
  # Pippo
  ro.pippo.session.DefaultSessionData
  ro.pippo.core.Flash
  }
  
  A line that starts with {@code #} is a comment and will be ignored.
  A line that starts with {@code >} is interpreted as a regular expression.