Enum ParseIssue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ParseIssue>

    public enum ParseIssue
    extends java.lang.Enum<ParseIssue>
    Author:
    ablick
    • Enum Constant Detail

      • UNSPECIFIED

        public static final ParseIssue UNSPECIFIED
      • MISSING_SCHEME

        public static final ParseIssue MISSING_SCHEME
      • INVALID_PERCENT_ENCODING

        public static final ParseIssue INVALID_PERCENT_ENCODING
      • BACKSLASH_AS_DELIMITER

        public static final ParseIssue BACKSLASH_AS_DELIMITER
      • ILLEGAL_WHITESPACE

        public static final ParseIssue ILLEGAL_WHITESPACE
      • ILLEGAL_CHARACTER

        public static final ParseIssue ILLEGAL_CHARACTER
      • INVALID_HOST

        public static final ParseIssue INVALID_HOST
    • Method Detail

      • values

        public static ParseIssue[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ParseIssue c : ParseIssue.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ParseIssue valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null