org.apache.felix.upnp.basedriver.util
Class Converter

java.lang.Object
  extended by org.apache.felix.upnp.basedriver.util.Converter

public class Converter
extends Object

Author:
Felix Project Team

Constructor Summary
Converter()
           
 
Method Summary
static Object parseString(String value, String upnpType)
           
static String toString(Object value, String upnpType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

toString

public static String toString(Object value,
                              String upnpType)
                       throws Exception
Parameters:
value - Object that contain the value
upnpType - String conating the UPnP Type of the Object
Returns:
a String that contain the UPnP rappresentation of the value contained in Object of type specified by typeUPnP
Throws:
Exception

parseString

public static Object parseString(String value,
                                 String upnpType)
                          throws Exception
Parameters:
value -
upnpType -
Returns:
Throws:
Exception


Copyright © 2011 Apache Software Foundation. All Rights Reserved.