Modifier and Type | Field and Description |
---|---|
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final HexFormat | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long | |
private static final long |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
private static void | |
private static void | |
private static void | |
private static void | |
private static void | appendSchemeSpecificPart(StringBuilder sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query)
|
private static void | |
private static URI | |
public static String | |
public static String | encodePath(String path)
Constructs an encoded version of the specified path string suitable for use in the construction of a URL. |
public static String | |
private static String | |
private static int | escape(char[] cc, char c, int index)
Appends the URL escape sequence for the specified char to the specified character array. |
public static URL | |
private static int | |
private static boolean | |
private static boolean | |
private static String | |
private static String | |
public static URI | |
private static byte |
H_ALPHA | back to summary |
---|---|
private static final long H_ALPHA |
H_ALPHANUM | back to summary |
---|---|
private static final long H_ALPHANUM |
H_DASH | back to summary |
---|---|
private static final long H_DASH |
H_DIGIT | back to summary |
---|---|
private static final long H_DIGIT |
H_ENCODED | back to summary |
---|---|
private static final long H_ENCODED |
H_ESCAPED | back to summary |
---|---|
private static final long H_ESCAPED |
H_HEX | back to summary |
---|---|
private static final long H_HEX |
H_LOWALPHA | back to summary |
---|---|
private static final long H_LOWALPHA |
H_MARK | back to summary |
---|---|
private static final long H_MARK |
H_PATH | back to summary |
---|---|
private static final long H_PATH |
H_PCHAR | back to summary |
---|---|
private static final long H_PCHAR |
H_REG_NAME | back to summary |
---|---|
private static final long H_REG_NAME |
H_RESERVED | back to summary |
---|---|
private static final long H_RESERVED |
H_SERVER | back to summary |
---|---|
private static final long H_SERVER |
H_UNRESERVED | back to summary |
---|---|
private static final long H_UNRESERVED |
H_UPALPHA | back to summary |
---|---|
private static final long H_UPALPHA |
H_URIC | back to summary |
---|---|
private static final long H_URIC |
H_USERINFO | back to summary |
---|---|
private static final long H_USERINFO |
HEX_UPPERCASE | back to summary |
---|---|
private static final HexFormat HEX_UPPERCASE |
L_ALPHA | back to summary |
---|---|
private static final long L_ALPHA |
L_ALPHANUM | back to summary |
---|---|
private static final long L_ALPHANUM |
L_DASH | back to summary |
---|---|
private static final long L_DASH |
L_DIGIT | back to summary |
---|---|
private static final long L_DIGIT |
L_ENCODED | back to summary |
---|---|
private static final long L_ENCODED |
L_ESCAPED | back to summary |
---|---|
private static final long L_ESCAPED |
L_HEX | back to summary |
---|---|
private static final long L_HEX |
L_LOWALPHA | back to summary |
---|---|
private static final long L_LOWALPHA |
L_MARK | back to summary |
---|---|
private static final long L_MARK |
L_PATH | back to summary |
---|---|
private static final long L_PATH |
L_PCHAR | back to summary |
---|---|
private static final long L_PCHAR |
L_REG_NAME | back to summary |
---|---|
private static final long L_REG_NAME |
L_RESERVED | back to summary |
---|---|
private static final long L_RESERVED |
L_SERVER | back to summary |
---|---|
private static final long L_SERVER |
L_UNRESERVED | back to summary |
---|---|
private static final long L_UNRESERVED |
L_UPALPHA | back to summary |
---|---|
private static final long L_UPALPHA |
L_URIC | back to summary |
---|---|
private static final long L_URIC |
L_USERINFO | back to summary |
---|---|
private static final long L_USERINFO |
ParseUtil | back to summary |
---|---|
private ParseUtil() |
appendAuthority | back to summary |
---|---|
private static void appendAuthority(StringBuilder sb, String authority, String userInfo, String host, int port) |
appendEncoded | back to summary |
---|---|
private static void appendEncoded(CharsetEncoder encoder, StringBuilder sb, char c) |
appendEscape | back to summary |
---|---|
private static void appendEscape(StringBuilder sb, byte b) |
appendFragment | back to summary |
---|---|
private static void appendFragment(StringBuilder sb, String fragment) |
appendSchemeSpecificPart | back to summary |
---|---|
private static void appendSchemeSpecificPart(StringBuilder sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) |
checkPath | back to summary |
---|---|
private static void checkPath(String s, String scheme, String path) throws URISyntaxException |
createURI | back to summary |
---|---|
private static URI createURI(String scheme, String authority, String path, String query, String fragment) throws URISyntaxException |
decode | back to summary |
---|---|
public static String decode(String s) Returns a new String constructed from the specified String by replacing the URL escape sequences and UTF8 encoding with the characters they represent. |
encodePath | back to summary |
---|---|
public static String encodePath(String path) Constructs an encoded version of the specified path string suitable for use in the construction of a URL. A path separator is replaced by a forward slash. The string is UTF8 encoded. The % escape sequence is used for characters that are above 0x7F or those defined in RFC2396 as reserved or excluded in the path component of a URL. |
encodePath | back to summary |
---|---|
public static String encodePath(String path, boolean flag) |
encodePath | back to summary |
---|---|
private static String encodePath(String path, int index, char sep) |
escape | back to summary |
---|---|
private static int escape(char[] cc, char c, int index) Appends the URL escape sequence for the specified char to the specified character array. |
fileToEncodedURL | back to summary |
---|---|
public static URL fileToEncodedURL(File file) throws MalformedURLException |
firstEncodeIndex | back to summary |
---|---|
private static int firstEncodeIndex(String path) |
isEscaped | back to summary |
---|---|
private static boolean isEscaped(String s, int pos) |
match | back to summary |
---|---|
private static boolean match(char c, long lowMask, long highMask) |
quote | back to summary |
---|---|
private static String quote(String s, long lowMask, long highMask) |
toString | back to summary |
---|---|
private static String toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) |
toURI | back to summary |
---|---|
public static URI toURI(URL url) |
unescape | back to summary |
---|---|
private static byte unescape(String s, int i) Un-escape and return the character at position i in string s. |