java.net
Class URI.Parser
java.lang.Object
java.net.URI.Parser
- Enclosing class:
- URI
- private class URI.Parser
- extends Object
Method Summary |
private boolean |
at(int start,
int end,
char c)
|
private boolean |
at(int start,
int end,
String s)
|
private char |
charAt(int p)
|
private void |
checkChar(int p,
long lowMask,
long highMask,
String what)
|
private void |
checkChars(int start,
int end,
long lowMask,
long highMask,
String what)
|
private void |
fail(String reason)
|
private void |
fail(String reason,
int p)
|
private void |
failExpecting(String expected,
int p)
|
private void |
failExpecting(String expected,
String prior,
int p)
|
(package private) void |
parse(boolean rsa)
|
private int |
parseAuthority(int start,
int n)
|
private int |
parseHierarchical(int start,
int n)
|
private int |
parseHostname(int start,
int n)
|
private int |
parseIPv4Address(int start,
int n)
|
private int |
parseIPv6Reference(int start,
int n)
|
private int |
parseServer(int start,
int n)
|
private int |
scan(int start,
int end,
char c)
|
private int |
scan(int start,
int n,
long lowMask,
long highMask)
|
private int |
scan(int start,
int end,
String err,
String stop)
|
private int |
scanByte(int start,
int n)
|
private int |
scanEscape(int start,
int n,
char first)
|
private int |
scanHexPost(int start,
int n)
|
private int |
scanHexSeq(int start,
int n)
|
private int |
scanIPv4Address(int start,
int n,
boolean strict)
|
private String |
substring(int start,
int end)
|
private int |
takeIPv4Address(int start,
int n,
String expected)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
private String input
requireServerAuthority
private boolean requireServerAuthority
ipv6byteCount
private int ipv6byteCount
URI.Parser
URI.Parser(String s)
fail
private void fail(String reason)
throws URISyntaxException
- Throws:
URISyntaxException
fail
private void fail(String reason,
int p)
throws URISyntaxException
- Throws:
URISyntaxException
failExpecting
private void failExpecting(String expected,
int p)
throws URISyntaxException
- Throws:
URISyntaxException
failExpecting
private void failExpecting(String expected,
String prior,
int p)
throws URISyntaxException
- Throws:
URISyntaxException
substring
private String substring(int start,
int end)
charAt
private char charAt(int p)
at
private boolean at(int start,
int end,
char c)
at
private boolean at(int start,
int end,
String s)
scan
private int scan(int start,
int end,
char c)
scan
private int scan(int start,
int end,
String err,
String stop)
scanEscape
private int scanEscape(int start,
int n,
char first)
throws URISyntaxException
- Throws:
URISyntaxException
scan
private int scan(int start,
int n,
long lowMask,
long highMask)
throws URISyntaxException
- Throws:
URISyntaxException
checkChars
private void checkChars(int start,
int end,
long lowMask,
long highMask,
String what)
throws URISyntaxException
- Throws:
URISyntaxException
checkChar
private void checkChar(int p,
long lowMask,
long highMask,
String what)
throws URISyntaxException
- Throws:
URISyntaxException
parse
void parse(boolean rsa)
throws URISyntaxException
- Throws:
URISyntaxException
parseHierarchical
private int parseHierarchical(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
parseAuthority
private int parseAuthority(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
parseServer
private int parseServer(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
scanByte
private int scanByte(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
scanIPv4Address
private int scanIPv4Address(int start,
int n,
boolean strict)
throws URISyntaxException
- Throws:
URISyntaxException
takeIPv4Address
private int takeIPv4Address(int start,
int n,
String expected)
throws URISyntaxException
- Throws:
URISyntaxException
parseIPv4Address
private int parseIPv4Address(int start,
int n)
parseHostname
private int parseHostname(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
parseIPv6Reference
private int parseIPv6Reference(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
scanHexPost
private int scanHexPost(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException
scanHexSeq
private int scanHexSeq(int start,
int n)
throws URISyntaxException
- Throws:
URISyntaxException