public class Ipv6Parser
extends Object
Inet6Address
. For example:
Grammar:
IPv6 := [NUM_SEQENCE] ENDING NUM_SEQENCE := NUM *(: NUM) NUM := 1*4HEXDIG ENDING := :: [NUM_SEQENCE [. IPv4Rest]] | . IPv4Rest | E IPv4Rest := NUM . NUM . NUM
Modifier and Type | Class and Description |
---|---|
static class |
Ipv6Parser.EmptyEnding |
static class |
Ipv6Parser.Ipv4Ending |
static class |
Ipv6Parser.Ipv6 |
Constructor and Description |
---|
Ipv6Parser(CharScanner charScanner) |
Ipv6Parser(String address) |
Modifier and Type | Method and Description |
---|---|
Ipv6Parser.Ipv6 |
parse() |
Ipv6Parser.Ipv6 |
parseLeft() |
public Ipv6Parser(String address) throws java.text.ParseException
java.text.ParseException
public Ipv6Parser(CharScanner charScanner) throws java.text.ParseException
java.text.ParseException
public Ipv6Parser.Ipv6 parseLeft() throws java.text.ParseException
java.text.ParseException
public Ipv6Parser.Ipv6 parse() throws java.text.ParseException
java.text.ParseException