ParsedURI implements java.lang.Cloneable { @Override public String toString() { StringBuilder sb = new StringBuilder(64); if (_scheme != null) { sb.append(_scheme); if (!isJarScheme(_scheme)) { sb.append(':'); } } if (isOpaque()) { if (_schemeSpecificPart != null) { sb.append(_schemeSpecificPart); } } else { if (_authority != null) { sb.append(" sb.append(_authority); } sb.append(_path); if (_query != null) { sb.append('?'); sb.append(_query); } } if (_fragment != null) { sb.append('#'); sb.append(_fragment); } return sb.toString(); } ParsedURI(String uriSpec);  ParsedURI(String scheme, String schemeSpecificPart, String fragment);  ParsedURI(String scheme, String authority, String path, String query, String fragment); boolean isHierarchical(); boolean isOpaque(); boolean isAbsolute(); boolean isRelative(); boolean isSelfReference(); String getScheme(); String getSchemeSpecificPart(); String getAuthority(); String getPath(); String getQuery(); String getFragment(); void normalize(); ParsedURI resolve(String relURISpec); ParsedURI resolve(ParsedURI relURI); @Override String toString(); @Override Object clone();  }
@Test public void jarUriWithHttpStringifiesToOriginalForm() { ParsedURI uri = new ParsedURI("jar:http: assertEquals("jar:http: }
@Test public void jarUriWithFileStringifiesToOriginalForm() { ParsedURI uri = new ParsedURI("jar:file: assertEquals("jar:file: }