/** * Parses the given UTF-8 encoded url string and creates a new * <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/my%20path'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIEncoded(String url) throws SVNException { return new SVNURL(url, true); }
/** * Parses the given decoded (not UTF-8 encoded) url string and creates * a new <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/mypath'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIDecoded(String url) throws SVNException { return new SVNURL(url, false); }
/** * Parses the given decoded (not UTF-8 encoded) url string and creates * a new <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/mypath'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIDecoded(String url) throws SVNException { return new SVNURL(url, false); }
/** * Parses the given UTF-8 encoded url string and creates a new * <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/my%20path'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIEncoded(String url) throws SVNException { return new SVNURL(url, true); }
/** * Parses the given UTF-8 encoded url string and creates a new * <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/my%20path'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIEncoded(String url) throws SVNException { return new SVNURL(url, true); }
/** * Parses the given decoded (not UTF-8 encoded) url string and creates * a new <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/mypath'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIDecoded(String url) throws SVNException { return new SVNURL(url, false); }
/** * Parses the given UTF-8 encoded url string and creates a new * <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/my%20path'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ public static SVNURL parseURIEncoded(String url) throws SVNException { return new SVNURL(url, true); }
/** * Parses the given decoded (not UTF-8 encoded) url string and creates * a new <b>SVNURL</b> representation for this url. * * @param url an input url string (like <span class="javastring">'http://myhost/mypath'</span>) * @return a new <b>SVNURL</b> representation of <code>url</code> * @throws SVNException if <code>url</code> is malformed */ @Deprecated public static SVNURL parseURIDecoded(String url) throws SVNException { return new SVNURL(url, false); }
private Object readResolve() throws ObjectStreamException { try { return new SVNURL(myEncodedPath,false); } catch (SVNException e) { StreamCorruptedException x = new StreamCorruptedException("Failed to load SVNURL"); x.initCause(e); throw x; } }
return new SVNURL(url, true);
return new SVNURL(url, true);
return new SVNURL(url, true);
return new SVNURL(url, true);