@Test(expected = PEException.class) public void parseURLNegativeTest2() throws PEException { PEUrl.fromUrlString("jdbc: }
public static PEUrl fromUrlString(String urlString) throws PEException { PEUrl url = new PEUrl(); url.parseURL(urlString); if (!url.isInitialized()) throw new PEException("Error creating URL object from string: " + urlString); return url; }
PEUrl { public static PEUrl fromUrlString(String urlString) throws PEException { PEUrl url = new PEUrl(); url.parseURL(urlString); if (!url.isInitialized()) throw new PEException("Error creating URL object from string: " + urlString); return url; } }
PEUrl { public static PEUrl fromUrlString(String urlString) throws PEException { PEUrl url = new PEUrl(); url.parseURL(urlString); if (!url.isInitialized()) throw new PEException("Error creating URL object from string: " + urlString); return url; } PEUrl();  PEUrl(Properties props, String prefix);  PEUrl(Properties props, String prefix, boolean useDefaults); }
PEUrl { public static PEUrl fromUrlString(String urlString) throws PEException { PEUrl url = new PEUrl(); url.parseURL(urlString); if (!url.isInitialized()) throw new PEException("Error creating URL object from string: " + urlString); return url; } PEUrl();  PEUrl(Properties props, String prefix);  PEUrl(Properties props, String prefix, boolean useDefaults); static String stripUrlParameters(final String url); static PEUrl fromUrlString(String urlString); static PEUrl isValidUrlWithPort(String urlString); static PEUrl fromConnectString(String connectString); PEUrl createMysqlDefaultURL(); String getOption(String optionKey); String getURL(); String getProtocol(); PEUrl setProtocol(String protocol); String getSubProtocol(); PEUrl setSubProtocol(String subProtocol); String getAuthority(); void setAuthority(String authority); String getHost(); PEUrl setHost(String host); int getPort(); PEUrl setPort(int port); boolean hasPort(); PEUrl setPort(String port); String getPath(); PEUrl setPath(String path); String getQuery(); PEUrl setQuery(String query); PEUrl clearQuery(); Properties getQueryOptions(); PEUrl setQueryOption(String key, String value); PEUrl setQueryOptions(Properties props); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
PEUrl { public static PEUrl fromUrlString(String urlString) throws PEException { PEUrl url = new PEUrl(); url.parseURL(urlString); if (!url.isInitialized()) throw new PEException("Error creating URL object from string: " + urlString); return url; } PEUrl();  PEUrl(Properties props, String prefix);  PEUrl(Properties props, String prefix, boolean useDefaults); static String stripUrlParameters(final String url); static PEUrl fromUrlString(String urlString); static PEUrl isValidUrlWithPort(String urlString); static PEUrl fromConnectString(String connectString); PEUrl createMysqlDefaultURL(); String getOption(String optionKey); String getURL(); String getProtocol(); PEUrl setProtocol(String protocol); String getSubProtocol(); PEUrl setSubProtocol(String subProtocol); String getAuthority(); void setAuthority(String authority); String getHost(); PEUrl setHost(String host); int getPort(); PEUrl setPort(int port); boolean hasPort(); PEUrl setPort(String port); String getPath(); PEUrl setPath(String path); String getQuery(); PEUrl setQuery(String query); PEUrl clearQuery(); Properties getQueryOptions(); PEUrl setQueryOption(String key, String value); PEUrl setQueryOptions(Properties props); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }