org.demac.impl.util
Class Utilities

java.lang.Object
  extended by org.demac.impl.util.Utilities

public class Utilities
extends java.lang.Object

TODO


Constructor Summary
Utilities()
           
 
Method Summary
static java.lang.String createBTConnectionURL(java.lang.String address)
           
static java.lang.String createBTProlog(java.lang.String address, int port, DeviceHandle handle)
           
static java.lang.String createBTServiceConnectionURL(java.lang.String address, int port)
           
static java.lang.String createTransportServiceRequest()
           
static java.lang.String createTransportServiceResponse(DeviceHandle dh)
           
static UUID getDemacUUID()
           
static java.lang.String getEOF()
           
static java.lang.String getSTX()
           
static java.lang.String getTransportServiceQueryString()
           
static java.lang.String getTransportServicResponseString()
           
static java.lang.String getTransportServicRoutingString()
           
static java.util.Properties loadProperties()
           
static java.lang.String serializeTransportMessage(TransportMessage msg)
           
static void storeProperties()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

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)