class TcpUriFactory {

    public static URI createUri(final InetSocketAddress address)
        throws URISyntaxException {
        final String host = address.getHostName();
        final int port = address.getPort();
        return new URI("tcp", null, host, port, null, null, null);
    }

    private  TcpUriFactory();

}