com.github.nkzawa.socketio.client
Class Url

java.lang.Object
  extended by com.github.nkzawa.socketio.client.Url

public class Url
extends Object


Method Summary
static String extractId(String url)
           
static String extractId(URL url)
           
static URL parse(String uri)
           
static URL parse(URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static URL parse(String uri)
                 throws URISyntaxException,
                        MalformedURLException
Throws:
URISyntaxException
MalformedURLException

parse

public static URL parse(URI uri)
                 throws MalformedURLException
Throws:
MalformedURLException

extractId

public static String extractId(String url)
                        throws MalformedURLException
Throws:
MalformedURLException

extractId

public static String extractId(URL url)


Copyright © 2014. All rights reserved.