SunSPOT API V5.0


com.sun.spot.peripheral.ota
Class URL

java.lang.Object
  extended by com.sun.spot.peripheral.ota.URL

public class URL
extends Object

Privide a string of the form "protocolName://address:port/rest1/rest2/.../restN" WARNING currnelty the above for is REQUIRED, i.e., there must be a port, for example.

Author:
randy

Field Summary
static boolean debugging
           
 
Constructor Summary
URL(String url)
           
 
Method Summary
 void debug(String line)
           
 String getAddress()
           
 String getPort()
           
 String getProtocol()
           
 Vector getRestOfURL()
           
static void setDebugging(boolean b)
           
static void test()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugging

public static boolean debugging
Constructor Detail

URL

public URL(String url)
Method Detail

test

public static void test()

debug

public void debug(String line)

getProtocol

public String getProtocol()

getAddress

public String getAddress()

getPort

public String getPort()

getRestOfURL

public Vector getRestOfURL()

setDebugging

public static void setDebugging(boolean b)

SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.