org.demac.impl.util
Class Utilities
java.lang.Object
org.demac.impl.util.Utilities
public class Utilities
- extends java.lang.Object
TODO
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utilities
public Utilities()
getDemacUUID
public static UUID getDemacUUID()
createBTConnectionURL
public static java.lang.String createBTConnectionURL(java.lang.String address)
createBTServiceConnectionURL
public static java.lang.String createBTServiceConnectionURL(java.lang.String address,
int port)
createBTProlog
public static java.lang.String createBTProlog(java.lang.String address,
int port,
DeviceHandle handle)
createTransportServiceRequest
public static java.lang.String createTransportServiceRequest()
createTransportServiceResponse
public static java.lang.String createTransportServiceResponse(DeviceHandle dh)
getTransportServiceQueryString
public static java.lang.String getTransportServiceQueryString()
getTransportServicResponseString
public static java.lang.String getTransportServicResponseString()
getTransportServicRoutingString
public static java.lang.String getTransportServicRoutingString()
getEOF
public static java.lang.String getEOF()
getSTX
public static java.lang.String getSTX()
loadProperties
public static java.util.Properties loadProperties()
storeProperties
public static void storeProperties()
throws java.lang.IllegalAccessException,
java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.lang.IllegalAccessException
java.io.FileNotFoundException
java.io.IOException
serializeTransportMessage
public static java.lang.String serializeTransportMessage(TransportMessage msg)