org.teleal.cling.model
Class ModelUtil
java.lang.Object
org.teleal.cling.model.ModelUtil
public class ModelUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelUtil
public ModelUtil()
isStringConvertibleType
public static boolean isStringConvertibleType(Set<Class> stringConvertibleTypes,
Class clazz)
isValidUDAName
public static boolean isValidUDAName(String name)
getInetAddressByName
public static InetAddress getInetAddressByName(String name)
toCommaSeparatedList
public static String toCommaSeparatedList(Object[] o)
toCommaSeparatedList
public static String toCommaSeparatedList(Object[] o,
boolean escapeCommas,
boolean escapeDoubleQuotes)
fromCommaSeparatedList
public static String[] fromCommaSeparatedList(String s)
fromCommaSeparatedList
public static String[] fromCommaSeparatedList(String s,
boolean unescapeCommas)
toTimeString
public static String toTimeString(int seconds)
fromTimeString
public static int fromTimeString(String s)
commaToNewline
public static String commaToNewline(String s)
getLocalHostName
public static String getLocalHostName(boolean includeDomain)
getFirstNetworkInterfaceHardwareAddress
public static byte[] getFirstNetworkInterfaceHardwareAddress()
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.