(CharSequence sequence)
| 1183 | } |
| 1184 | |
| 1185 | public static int parseIPv4(CharSequence sequence) throws NumericException { |
| 1186 | if (sequence == null || Chars.equalsIgnoreCase("null", sequence)) { |
| 1187 | return IPv4_NULL; |
| 1188 | } |
| 1189 | return parseIPv4_0(sequence, 0, sequence.length()); |
| 1190 | } |
| 1191 | |
| 1192 | public static int parseIPv4(Utf8Sequence sequence) throws NumericException { |
| 1193 | if (sequence == null || Utf8s.equalsIgnoreCaseAscii("null", sequence)) { |