SFRMProperties

public class SFRMProperties

Provide fast access of constant field defined in the properties files. It is originally come from POC1. Creation Date: 3/10/2006 V1.0.2 - Added Mailcaps properties.

Author:Twinsen

Fields

XPATH_MAILCAPS

public static final String XPATH_MAILCAPS

The XML Path for the data content handler (DCH) for the activiation framework.

XPATH_MAX_PAYLOAD_SIZE

public static final String XPATH_MAX_PAYLOAD_SIZE

The XML Path for the maximum payload size that can be sent. The typical value is 5GB.

XPATH_SEGMENT_SIZE

public static final String XPATH_SEGMENT_SIZE

The XML Path for the sfrm segment size. The typical size is 1 mb.

XPATH_SEPARATOR

public static final String XPATH_SEPARATOR

The constant field for default XML separator.

XPATH_SFRM

public static final String XPATH_SFRM

The sfrm XML namespace name.

XPATH_SPEED_MAXIMUM

public static final String XPATH_SPEED_MAXIMUM

The XML Path for the maximum speed that user specified (Bandwidth Optimizer)

XPATH_SPEED_TICK_INTERVAL

public static final String XPATH_SPEED_TICK_INTERVAL

The XML Path for the interval for ticking the speed of the sending message

XPATH_TRUSTED_CERTS

public static final String XPATH_TRUSTED_CERTS

The XML Path for the trusted certificates location.

Methods

getAvailableMailCaps

public static String[] getAvailableMailCaps()
Returns:the available mail caps for the activiation framework available in the SFRM plugin.

getMaxPayloadSize

public static long getMaxPayloadSize()
Returns:the max payload size allowed.

getPayloadSegmentSize

public static int getPayloadSegmentSize()

Get the fixed size of each payload segment.

Returns:the size of each segment.

getSpeedTickInterval

public static long getSpeedTickInterval()

getTrustedCertStore

public static String getTrustedCertStore()

Get the location of trusted certificate store.

Returns:a absolute path storing the trusted certificate store.

toString

public String toString()

toString method.