Java URL Create toURL(String port, String address, String table)

Here you can find the source of toURL(String port, String address, String table)

Description

to URL

License

Apache License

Declaration

public static String toURL(String port, String address, String table) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String toURL(String port, String address, String table) {
        return "jdbc:mysql://" + address + ":" + port + "/" + table + "?autoReconnect=true&useSSL=false";
    }/*from   w  w  w . j a  v a2 s .  c o  m*/
}

Related

  1. createURL(String url)
  2. createURL(String url)
  3. createURL(String url, String baseURI)
  4. createURL(String urlString)
  5. toUrl(String filename)
  6. toURL(String protocol, String host, int port, String path)
  7. toUrl(String s)
  8. toUrl(String url)
  9. toUrlDate(String date)