()
| 676 | /// |
| 677 | /// the uri as a string with parts encoded. |
| 678 | public String toASCIIString() { |
| 679 | StringBuffer buffer = new StringBuffer(); |
| 680 | if (scheme != null) { |
| 681 | buffer.append(scheme + SCHEME_SEPARATOR); |
| 682 | } |
| 683 | buffer.append(getRawSchemeSpecificPart()); |
| 684 | if (fragment != null) { |
| 685 | buffer.append(FRAGMENT_SEPARATOR + getRawFragment()); |
| 686 | } |
| 687 | return buffer.toString(); |
| 688 | } |
| 689 | |
| 690 | /// Create a relative URI object against this URI, given the uri parameter. |
| 691 | /// |
no test coverage detected