A B C D E F G H I J K L M O P Q R S T U W X

A

ACTIVATION_DATE_NONE - Static variable in class com.funambol.updater.BasicUpdaterConfig
 
add(String, String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
add(String, String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
add(String, String) - Method in interface com.funambol.storage.StringKeyValueStore
Add a new item into the store.
add(Object) - Method in class com.funambol.util.Queue
adds a runnable object to the end of the queue.
addAppender(Appender) - Method in class com.funambol.util.MultipleAppender
ad an appender to the list of appenders
addElement(StringBuffer, String) - Static method in class com.funambol.util.XmlUtil
Add an empty tag to the StringBuffer out.
addElement(StringBuffer, String, String) - Static method in class com.funambol.util.XmlUtil
Add a tag to the StringBuffer out.
addElementNewLine(StringBuffer, String, String, boolean) - Static method in class com.funambol.util.XmlUtil
This function builds a simple Tag with newline char after the close tag.
addElementNewLineWithTagAttr(StringBuffer, String, String, boolean, String[]) - Static method in class com.funambol.util.XmlUtil
This function builds a simple Tag with newline char after the close tag.
addElementWithTagAttr(StringBuffer, String, String, String[]) - Static method in class com.funambol.util.XmlUtil
Add a tag with attributes to the StringBuffer out.
addMinutes(int) - Method in class com.funambol.util.DateUtil
Make the date go forward of the specified amount of minutes The internal date is changed after this call.
addObserver(Observer) - Method in interface com.funambol.util.Observable
add a observer to this observable
addParameter(int, byte[]) - Method in class com.funambol.push.CTPService.CTPMessage
Add one parameter
addRequest(SyncRequest) - Method in class com.funambol.push.SyncScheduler
Add a sync request to the SyncScheduler.
addRequestContent(Object) - Method in class com.funambol.push.SyncRequest
 
Appender - Interface in com.funambol.util
 
authenticate() - Method in class com.funambol.push.CTPService
This method performs the CTP authentication.
AUTHENTICATED - Static variable in class com.funambol.push.CTPService
 
AUTHENTICATING - Static variable in class com.funambol.push.CTPService
 

B

Base64 - Class in com.funambol.util
 
Base64() - Constructor for class com.funambol.util.Base64
 
BasicConnectionListener - Class in com.funambol.util
the simplest conneection handler ever.
BasicConnectionListener() - Constructor for class com.funambol.util.BasicConnectionListener
 
BasicUpdaterConfig - Class in com.funambol.updater
 
BasicUpdaterConfig() - Constructor for class com.funambol.updater.BasicUpdaterConfig
 
BUFFERSIZE - Static variable in interface com.funambol.util.StreamReader
 

C

calculateMD5(byte[]) - Method in class com.funambol.util.MD5
Compute md5 of given byte array.
charAt(int) - Method in class com.funambol.util.ChunkedString
Returns the character at the specified position, relative to the chunk.
check() - Method in class com.funambol.updater.Updater
 
ChunkedString - Class in com.funambol.util
This class allow to process substrings of a bigger string without allocate additional memory, but using the original buffer.
ChunkedString(String) - Constructor for class com.funambol.util.ChunkedString
Creates a ChunkedString from a plain String, with length equal to the whole string.
ChunkedString(String, int, int) - Constructor for class com.funambol.util.ChunkedString
Creates a ChunkedString from a plain String and two indexes
ChunkedString(ChunkedString, int, int) - Constructor for class com.funambol.util.ChunkedString
Creates a ChunkedString from another ChunkedString and two indexes relative to the chunk
ChunkedString(ChunkedString) - Constructor for class com.funambol.util.ChunkedString
Creates a ChunkedString from another ChunkedString and two indexes relative to the chunk
close() - Method in class com.funambol.platform.FileAdapter
Close this FileAdapter
close() - Method in class com.funambol.platform.HttpConnectionAdapter
This method closes this connection.
close() - Method in class com.funambol.platform.SocketAdapter
Close this Socket
closeConnection() - Method in class com.funambol.push.CTPService
Close the connection, forcing exceptions if there are pending network IO operations.
closeLogFile() - Method in interface com.funambol.util.Appender
Close Log file
closeLogFile() - Method in class com.funambol.util.ConsoleAppender
ConsoleAppender doesn't implement this method
closeLogFile() - Method in class com.funambol.util.FileAppender
Close connection and streams
closeLogFile() - Method in class com.funambol.util.MemoryAppender
 
closeLogFile() - Method in class com.funambol.util.MultipleAppender
 
CM_AUTH - Static variable in class com.funambol.push.CTPService
Commands
CM_BYE - Static variable in class com.funambol.push.CTPService
 
CM_READY - Static variable in class com.funambol.push.CTPService
 
CodedException - Exception in com.funambol.util
This exception represents the base exception for coded error conditions.
CodedException(int, String) - Constructor for exception com.funambol.util.CodedException
Constructs an instance of CodedException with thei code and specified detail message.
com.funambol.platform - package com.funambol.platform
 
com.funambol.push - package com.funambol.push
 
com.funambol.storage - package com.funambol.storage
 
com.funambol.updater - package com.funambol.updater
 
com.funambol.util - package com.funambol.util
 
ComplexSerializer - Class in com.funambol.storage
A helper class useful to persist objects like Vectors and Hashtables into the device's store
ComplexSerializer() - Constructor for class com.funambol.storage.ComplexSerializer
 
computeEncodedSize(int) - Static method in class com.funambol.util.Base64
Compute the base64 encoded size for a stream whose size is specified in the incoming parameter
computeMD5Credentials(String, String, byte[]) - Method in class com.funambol.util.MD5
Compute md5 credentials for the given username and password.
CONCURRENCE_ERROR - Static variable in exception com.funambol.util.CodedException
Another sync is in progress
CONN_NOT_FOUND - Static variable in exception com.funambol.util.CodedException
 
connect(int) - Method in class com.funambol.push.CTPService
Perform the CTP connecting phase.
CONNECTED - Static variable in class com.funambol.push.CTPService
 
CONNECTING - Static variable in class com.funambol.push.CTPService
 
CONNECTION_BLOCKED_BY_USER - Static variable in exception com.funambol.util.CodedException
 
connectionClosed() - Method in class com.funambol.util.BasicConnectionListener
Notify that a previously opened connection has been closed
connectionClosed() - Method in interface com.funambol.util.ConnectionListener
Notify that a previously opened connection has been closed
connectionConfigurationChanged() - Method in class com.funambol.util.BasicConnectionListener
 
connectionConfigurationChanged() - Method in interface com.funambol.util.ConnectionListener
Notify that the connection configuration is changed
ConnectionDeniedException - Exception in com.funambol.util
Exception related to the connection denied event
ConnectionDeniedException(String) - Constructor for exception com.funambol.util.ConnectionDeniedException
 
ConnectionListener - Interface in com.funambol.util
Interface used to notify the connection request and response status It can be implemented to create rich client connection listeners
ConnectionManager - Class in com.funambol.util
Controls HTTP and HTTPS connections requested by the API implementations.
ConnectionManager() - Constructor for class com.funambol.util.ConnectionManager
Private constructor - Use getInstance() method
ConnectionNotFoundException - Exception in com.funambol.platform
 
ConnectionNotFoundException(String) - Constructor for exception com.funambol.platform.ConnectionNotFoundException
 
ConnectionNotFoundException() - Constructor for exception com.funambol.platform.ConnectionNotFoundException
 
connectionOpened() - Method in class com.funambol.util.BasicConnectionListener
Notify that a connection was succesfully opened
connectionOpened() - Method in interface com.funambol.util.ConnectionListener
Notify that a connection is succesfully opened
ConsoleAppender - Class in com.funambol.util
Default debugger to be used instea of System.out.println(msg);
ConsoleAppender() - Constructor for class com.funambol.util.ConsoleAppender
Default constructor
contains(String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
contains(String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
contains(String) - Method in interface com.funambol.storage.StringKeyValueStore
Returns true iff key is contained in this store.
contents - Variable in class com.funambol.push.SyncRequest
 
create() - Method in class com.funambol.platform.FileAdapter
Create a file with the name of this FileAdapter.
createCloseTag(String) - Static method in class com.funambol.util.XmlUtil
 
createCloseTagNewLine(String) - Static method in class com.funambol.util.XmlUtil
 
createOpenTag(String) - Static method in class com.funambol.util.XmlUtil
 
createOpenTagNewLine(String) - Static method in class com.funambol.util.XmlUtil
 
CTPAuthenticated() - Method in interface com.funambol.push.CTPListener
Notify AUTHENTICATED state
CTPAuthenticating() - Method in interface com.funambol.push.CTPListener
Notify AUTHENTICATING state
CTPConnected() - Method in interface com.funambol.push.CTPListener
Notify CONNECTED state
CTPConnecting() - Method in interface com.funambol.push.CTPListener
Notify CONNECTING state
CTPDisconnected() - Method in interface com.funambol.push.CTPListener
Notify DISCONNECTED state
CTPListener - Interface in com.funambol.push
Listener for the CTPService class state.
CTPListening() - Method in interface com.funambol.push.CTPListener
Notify LISTENING state
CTPNotificationListener - Interface in com.funambol.push
 
CTPService - Class in com.funambol.push
This class implements the CTPService.
CTPService() - Constructor for class com.funambol.push.CTPService
Builds an empty service.
CTPService.ConnectionTimer - Class in com.funambol.push
This class is used (with a Timer) to monitor a connection and interrupt it if it hangs for more than command timeout.
CTPService.ConnectionTimer() - Constructor for class com.funambol.push.CTPService.ConnectionTimer
Constructor.
CTPService.CTPMessage - Class in com.funambol.push
This class represents a CTP message.
CTPService.CTPMessage() - Constructor for class com.funambol.push.CTPService.CTPMessage
Build an empty message
CTPService.CTPMessage(byte[]) - Constructor for class com.funambol.push.CTPService.CTPMessage
Build a message decoding the given byte stream
CTPService.HeartbeatGenerator - Class in com.funambol.push
This class implements an hearbeat generator.
CTPService.HeartbeatGenerator() - Constructor for class com.funambol.push.CTPService.HeartbeatGenerator
 

D

DATA_NULL - Static variable in exception com.funambol.util.CodedException
These excpetions are generated by the HttpTranportAgent
DataAccessException - Exception in com.funambol.storage
Represents a "update" error on device database.
DataAccessException() - Constructor for exception com.funambol.storage.DataAccessException
Creates a new instance of DataAccessException without detail message.
DataAccessException(String) - Constructor for exception com.funambol.storage.DataAccessException
Constructs an instance of
DateUtil - Class in com.funambol.util
Utility class for date manipulation.
DateUtil() - Constructor for class com.funambol.util.DateUtil
Inizialize a new instance with the current date
DateUtil(Date) - Constructor for class com.funambol.util.DateUtil
Inizialize a new instance with the given date
DEBUG - Static variable in class com.funambol.util.Log
Log level DEBUG: used to log debug messages.
debug(String) - Static method in class com.funambol.util.Log
DEBUG: Debug message
debug(String, String) - Static method in class com.funambol.util.Log
DEBUG: Information message
debug(Object, String) - Static method in class com.funambol.util.Log
DEBUG: Information message
decode(byte[]) - Static method in class com.funambol.util.Base64
decode the base 64 encoded input data.
decode(String) - Static method in class com.funambol.util.Base64
decode the base 64 encoded String data.
decode(String, String) - Static method in class com.funambol.util.Base64
Decode the string and convert back the decoded value into a string using the specified charset.
decode(byte[], String) - Static method in class com.funambol.util.Base64
Decode the string and convert back the decoded value into a string using the specified charset.
decode(byte[]) - Static method in class com.funambol.util.QuotedPrintable
A method to decode quoted printable encoded data.
decode(byte[], String) - Static method in class com.funambol.util.QuotedPrintable
 
DEFAULT_UPDATER_REQUEST_URI - Static variable in class com.funambol.updater.Updater
 
DELAY - Static variable in class com.funambol.platform.SocketAdapter
 
delete() - Method in class com.funambol.platform.FileAdapter
Delete the file with the name of this FileAdapter.
deleteLog() - Static method in class com.funambol.util.Log
Delete log file
deleteLogFile() - Method in interface com.funambol.util.Appender
Delete Log file
deleteLogFile() - Method in class com.funambol.util.ConsoleAppender
ConsoleAppender doesn't implement this method
deleteLogFile() - Method in class com.funambol.util.FileAppender
Delete the log file
deleteLogFile() - Method in class com.funambol.util.MemoryAppender
 
deleteLogFile() - Method in class com.funambol.util.MultipleAppender
 
deserialize(DataInputStream) - Method in class com.funambol.push.PushConfig
Deserialize this object from the given input stream
deserialize(DataInputStream) - Method in interface com.funambol.storage.Serializable
Read object field from the input stream.
deserialize(DataInputStream) - Method in class com.funambol.updater.BasicUpdaterConfig
 
deserializeHashTable(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to deserialize a Hashtable
deserializeObject(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to deserialize an Object.
deserializeObjectArray(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
Deserialize a given DataInputStream into a given array of objects.
deserializeVector(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to deserialize a Vector
DISABLED - Static variable in class com.funambol.util.Log
Log level DISABLED: used to speed up applications using logging features
disconnect() - Method in class com.funambol.push.CTPService
Disconnect from server.
DISCONNECTED - Static variable in class com.funambol.push.CTPService
CTP server thread state

E

enableCompression(boolean) - Method in class com.funambol.util.HttpTransportAgent
Enable the http "gzip" compression parameter usage
enableContextLogging(boolean) - Static method in class com.funambol.util.Log
Enabled/disable the context logging feature.
encode(InputStream, OutputStream, int, String) - Static method in class com.funambol.util.Base64
encode the input stream and write the base64 encoded output into the output stream
encode(byte[]) - Static method in class com.funambol.util.Base64
encode the input data producong a base 64 encoded byte array.
encode(byte[]) - Static method in class com.funambol.util.QuotedPrintable
Encodes an array of bytes into an array of quoted-printable 7-bit characters.
encode(String, String) - Static method in class com.funambol.util.QuotedPrintable
Encodes a String into a String of quoted-printable 7-bit characters.
encode(String) - Static method in class com.funambol.util.QuotedPrintable
Encodes a String into a String of quoted-printable 7-bit characters.
endOperation() - Method in class com.funambol.push.CTPService.ConnectionTimer
Notifies the ConnectionTimer that the IO operation has terminated.
endsWithIgnoreCase(String, String) - Static method in class com.funambol.util.StringUtil
This method check if a string ends with the specified suffix ignoring the case.
equals(String) - Method in class com.funambol.util.ChunkedString
Returns true if s is equals to the current chunk
equalsIgnoreCase(String) - Method in class com.funambol.util.ChunkedString
Returns true if s is equals to the current chunk, ignoring case.
equalsIgnoreCase(String, String) - Static method in class com.funambol.util.StringUtil
This method is missing in CLDC 1.0 String implementation
ERR_READING_COMPRESSED_DATA - Static variable in exception com.funambol.util.CodedException
 
ERROR - Static variable in class com.funambol.util.Log
Log level ERROR: used to log error messages.
error(String) - Static method in class com.funambol.util.Log
ERROR: Error message
error(Object, String) - Static method in class com.funambol.util.Log
ERROR: Error message
error(String, String) - Static method in class com.funambol.util.Log
ERROR: Error message
error(String, String, Throwable) - Static method in class com.funambol.util.Log
ERROR: Error message
escapeXml(String) - Static method in class com.funambol.util.XmlUtil
Escapes the characters in a String using XML entities.
exists() - Method in class com.funambol.platform.FileAdapter
Check if the file with the name of this FileAdapter exists.
extractAddressFromUrl(String, String) - Static method in class com.funambol.util.StringUtil
This method extracts from address the protocol port and resources
extractAddressFromUrl(String) - Static method in class com.funambol.util.StringUtil
This method extracts from address the resources

F

FILE_CONTENT - Static variable in class com.funambol.util.LogContent
 
FileAdapter - Class in com.funambol.platform
This class is a proxy to javax.io.File to provide a common access to a file resource on all mobile platforms.
FileAdapter(String) - Constructor for class com.funambol.platform.FileAdapter
Construct a new FileAdapter, opening the underlying File.
FileAdapter(String, boolean) - Constructor for class com.funambol.platform.FileAdapter
Construct a new FileAdapter, opening the underlying File.
FileAppender - Class in com.funambol.util
This appender logs messages to a file using JSR75 (FileConnection) The appender tracks the file size and if it exceeds a given maximum size (customizable by clients) then the current log file is renamed appending a .old to the log name and a new one is created.
FileAppender(String, String) - Constructor for class com.funambol.util.FileAppender
Default constructor
fileName - Variable in class com.funambol.storage.StringKeyValueFileStore
 
findEmptyLine(String) - Static method in class com.funambol.util.StringUtil
Find two consecutive newlines in a string.
fold(String) - Static method in class com.funambol.util.StringUtil
Builds a list of the recipients email addresses each on a different line, starting just from the second line with an HT ("\t") separator at the head of the line.
forceDisconnect() - Method in class com.funambol.push.CTPService
force disconnection
formatDate(Calendar) - Static method in class com.funambol.util.DateUtil
Format a date to standard format.
formatDateTimeUTC(Calendar) - Static method in class com.funambol.util.DateUtil
Format a date-time into UTC format.
formatDateTimeUTC(Date) - Static method in class com.funambol.util.DateUtil
Format a date-time into UTC format.
formatDateTimeUTC(long) - Static method in class com.funambol.util.DateUtil
Format a date-time into UTC format.

G

GET - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
get(String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
get(String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
get(String) - Method in interface com.funambol.storage.StringKeyValueStore
Returns the value associated to the given key or null if not present.
getActivationDate() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getActivationDate() - Method in interface com.funambol.updater.UpdaterConfig
 
getAppender() - Static method in class com.funambol.util.Log
Return a reference to the current appender
getAvailableVersion() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getAvailableVersion() - Method in interface com.funambol.updater.UpdaterConfig
 
getBooleanValue(String) - Static method in class com.funambol.util.StringUtil
Util method for retrieve a boolean primitive type from a String.
getBytes() - Method in class com.funambol.push.CTPService.CTPMessage
Get a byte representation of this message.
getCheckInterval() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getCheckInterval() - Method in interface com.funambol.updater.UpdaterConfig
 
getCode() - Method in exception com.funambol.util.CodedException
Returns the code of this exception
getCommand() - Method in class com.funambol.push.CTPService.CTPMessage
Returns the command or status code
getConfig() - Method in class com.funambol.push.CTPService
make PushConfig available for CTPService clients
getConnectionListener() - Method in class com.funambol.util.ConnectionManager
 
getContent() - Method in class com.funambol.util.LogContent
 
getContentType() - Method in class com.funambol.push.SyncInfo
sets the String : contentType
getContentType() - Method in class com.funambol.util.LogContent
 
getCtpCmdTimeout() - Method in class com.funambol.push.PushConfig
Returns the ctp command timeout parameter
getCtpConnTimeout() - Method in class com.funambol.push.PushConfig
Returns the ctp connection timeout parameter
getCtpMaxRetry() - Method in class com.funambol.push.PushConfig
Returns the ctp max retry parameter
getCtpNonce() - Method in class com.funambol.push.PushConfig
Returns the ctp nonce
getCtpNotifyTimeout() - Method in class com.funambol.push.PushConfig
Returns the ctp notify timeout
getCtpPassword() - Method in class com.funambol.push.PushConfig
Returns the ctp password
getCtpPort() - Method in class com.funambol.push.PushConfig
Returns the ctp server port
getCtpReady() - Method in class com.funambol.push.PushConfig
Returns the ctp ready period
getCtpRetry() - Method in class com.funambol.push.PushConfig
Returns the ctp retry parameter
getCtpServer() - Method in class com.funambol.push.PushConfig
Returns the CTP server name
getCTPStringState() - Method in class com.funambol.push.CTPService
 
getCtpUsername() - Method in class com.funambol.push.PushConfig
Returns the ctp user name
getCurrentLogContent() - Static method in class com.funambol.util.Log
Return the current log appender LogContent container object
getDaysSince(Date) - Method in class com.funambol.util.DateUtil
Get the days passed from the specified date up to the date provided in the constructor
getDelay() - Method in class com.funambol.push.CTPService.ConnectionTimer
Returns the delay for this task
getDelay() - Method in class com.funambol.util.HttpTransportAgent.ConnectionTimer
Returns the delay for this task
getDeviceId() - Method in class com.funambol.push.PushConfig
Returns the device id
getDigest() - Method in class com.funambol.push.SANMessage
 
getDigest() - Method in class com.funambol.push.SANMessageParser
 
getDownloadUrl() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getDownloadUrl() - Method in interface com.funambol.updater.UpdaterConfig
 
getHeaderField(String) - Method in class com.funambol.platform.HttpConnectionAdapter
Returns the value of the named header field.
getHeaderFieldKey(int) - Method in class com.funambol.platform.HttpConnectionAdapter
Returns the key for the nth header field.
getInitiator() - Method in class com.funambol.push.SANMessage
 
getInititator() - Method in class com.funambol.push.SANMessageParser
 
getInstance() - Static method in class com.funambol.push.CTPService
Returns the instance of the CTPService.
getInstance() - Static method in class com.funambol.util.ConnectionManager
Singleton implementation:
getInterval() - Method in class com.funambol.push.SyncRequest
 
getKey() - Method in class com.funambol.storage.StringKeyValuePair
 
getLastCheck() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getLastCheck() - Method in interface com.funambol.updater.UpdaterConfig
 
getLastReminder() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getLastReminder() - Method in interface com.funambol.updater.UpdaterConfig
 
getLength() - Method in class com.funambol.platform.HttpConnectionAdapter
Returns the answer length (excluding headers.
getLogContent() - Method in interface com.funambol.util.Appender
Get the whole log content for this appender
getLogContent() - Method in class com.funambol.util.ConsoleAppender
 
getLogContent() - Method in class com.funambol.util.FileAppender
 
getLogContent() - Method in class com.funambol.util.MemoryAppender
 
getLogContent() - Method in class com.funambol.util.MultipleAppender
Retrieve the first valid log content avoiding the CONSOLE type one, that doesn't contain useful informations;
getLogData() - Method in class com.funambol.util.MemoryAppender
 
getLogLevel() - Static method in class com.funambol.util.Log
Accessor method to retrieve log level:
getMax() - Method in interface com.funambol.util.Observable
returns the number of steps the task will use.
getMessage() - Method in interface com.funambol.util.Observable
a string that describes the current operation.
getName() - Method in class com.funambol.platform.FileAdapter
Returns the name of a file or directory excluding the URL schema and all paths.
getNextChunk(String[]) - Method in class com.funambol.util.ChunkedString
Gets the smallest chunk, using one of the given separators, as a ChunkedString.
getNextChunk(String) - Method in class com.funambol.util.ChunkedString
Gets the next chunk, using the given separator, as another ChunkedString, without allocating memory.
getNextString(String) - Method in class com.funambol.util.ChunkedString
Gets the next chunk, using the given separator, as a plain String.
getNextString(String[]) - Method in class com.funambol.util.ChunkedString
Gets the smallest chunk, using one of the given separators, as a plain String.
getNonce() - Method in class com.funambol.push.CTPService.CTPMessage
Return the last nonce that has been parsed.
getNumberOfSync() - Method in class com.funambol.push.SANMessage
 
getNumberOfSync() - Method in class com.funambol.push.SANMessageParser
 
getParameterCode(int) - Method in class com.funambol.push.CTPService.CTPMessage
Get the parameter code of a given parameter.
getParametersNumber() - Method in class com.funambol.push.CTPService.CTPMessage
Returns the number of parameters.
getParameterValue(int) - Method in class com.funambol.push.CTPService.CTPMessage
Get the parameter value of a given parameter.
getProgress() - Method in interface com.funambol.util.Observable
returns a integere between 0 and max giving the progress of the task.
getProgressPercent() - Method in interface com.funambol.util.Observable
returns a long between 0 an 100 that indicate the % of the task completed.
getProtocolFromUrl(String) - Static method in class com.funambol.util.StringUtil
This method retrieves the protocol used in the given url.
getQueuePush() - Method in class com.funambol.push.PushConfig
Returns the queuePush parameter
getReminderInterval() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getReminderInterval() - Method in interface com.funambol.updater.UpdaterConfig
 
getRequestContent() - Method in class com.funambol.push.SyncRequest
 
getRequestContentType() - Method in class com.funambol.util.HttpTransportAgent
 
getResponseCode() - Method in class com.funambol.platform.HttpConnectionAdapter
Returns the HTTP response status code.
getResponseDate() - Method in class com.funambol.util.HttpTransportAgent
Get the last response date
getResponseDate() - Method in interface com.funambol.util.TransportAgent
Get the last response date
getResponseMessage() - Method in class com.funambol.platform.HttpConnectionAdapter
Returns the HTTP response message.
getRetryWithAuth() - Method in interface com.funambol.util.HttpAuthentication
Determines whether or not to retry sending a message, this time with authentication information.
getRunnableCount() - Method in class com.funambol.util.ThreadPool
Returns the number of threads belonging to this pool that are currently running (still active)
getSafeTimeForAllDay(Calendar) - Static method in class com.funambol.util.DateUtil
Get a safe time for all day given a certain calendar.
getServerId() - Method in class com.funambol.push.SANMessage
 
getServerId() - Method in class com.funambol.push.SANMessageParser
 
getServerUri() - Method in class com.funambol.push.SyncInfo
sets the String : serverUri
getServiceState() - Method in class com.funambol.push.CTPService
 
getSessionId() - Method in class com.funambol.push.SANMessage
 
getSessionId() - Method in class com.funambol.push.SANMessageParser
 
getSize() - Method in class com.funambol.platform.FileAdapter
Check if the file with the name of this FileAdapter exists.
getSkip() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getSkip() - Method in interface com.funambol.updater.UpdaterConfig
 
getStackTrace(Throwable) - Static method in class com.funambol.util.StackTracePrinter
 
getStreamReader(String) - Static method in class com.funambol.util.StreamReaderFactory
Factory method for object implementig StreamReader interface
getStringArray(Vector) - Static method in class com.funambol.util.StringUtil
Returns the string array
getSyncInfoArray() - Method in class com.funambol.push.SANMessageParser
 
getSyncInfos() - Method in class com.funambol.push.SANMessage
 
getSyncType() - Method in class com.funambol.push.SyncInfo
 
getTag(ChunkedString, String) - Static method in class com.funambol.util.XmlUtil
Return the index of tag, validating also the presence of the end tag.
getTagAttributes(ChunkedString, String) - Static method in class com.funambol.util.XmlUtil
 
getTagValue(ChunkedString, String) - Static method in class com.funambol.util.XmlUtil
Make a String by value of tag.
getTagValues(Vector, String) - Static method in class com.funambol.util.XmlUtil
Return a Vector of String with tags matching the search tag.
getTagValues(ChunkedString, String) - Static method in class com.funambol.util.XmlUtil
Return a Vector of String with tags matching the search tag.
getTime() - Method in class com.funambol.util.DateUtil
Get the current time
getType() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getType() - Method in interface com.funambol.updater.UpdaterConfig
 
getTZ() - Method in class com.funambol.util.DateUtil
Get the current TimeZone
getUiMode() - Method in class com.funambol.push.SANMessage
 
getUiMode() - Method in class com.funambol.push.SANMessageParser
 
getUrl() - Method in class com.funambol.updater.BasicUpdaterConfig
 
getUrl() - Method in interface com.funambol.updater.UpdaterConfig
 
getValue() - Method in class com.funambol.storage.StringKeyValuePair
 
getVectorFromArray(Object[]) - Static method in class com.funambol.util.StringUtil
create a vector filled with the elements of the given array
getVersion() - Method in class com.funambol.push.SANMessage
 
getVersion() - Method in class com.funambol.push.SANMessageParser
 
GzipStreamReader - Class in com.funambol.util
 
GzipStreamReader() - Constructor for class com.funambol.util.GzipStreamReader
Creates a new instance of GzipStreamReader

H

handleAuthentication(HttpConnectionAdapter) - Method in interface com.funambol.util.HttpAuthentication
Handle the authentication by adding authentication headers to the given HttpConnection.
handleMessage(SANMessage) - Method in interface com.funambol.push.CTPNotificationListener
 
handleThrowable(Class, Runnable, Throwable) - Method in class com.funambol.util.ThreadPoolMonitor
Handles any throwable event occurring in Thread Pool when running a task
HEAD - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_ACCEPTED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_BAD_GATEWAY - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_BAD_METHOD - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_BAD_REQUEST - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_CLIENT_TIMEOUT - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_CONFLICT - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_CREATED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_ENTITY_TOO_LARGE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_EXPECT_FAILED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_FORBIDDEN - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_GATEWAY_TIMEOUT - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_GONE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_INTERNAL_ERROR - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_LENGTH_REQUIRED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_MOVED_PERM - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_MOVED_TEMP - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_MULT_CHOICE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NO_CONTENT - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NOT_ACCEPTABLE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NOT_AUTHORITATIVE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NOT_FOUND - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NOT_IMPLEMENTED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_NOT_MODIFIED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_OK - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_PARTIAL - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_PAYMENT_REQUIRED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_PRECON_FAILED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_PROXY_AUTH - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_REQ_TOO_LONG - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_RESET - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_SEE_OTHER - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_TEMP_REDIRECT - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_UNAUTHORIZED - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_UNAVAILABLE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_UNSUPPORTED_RANGE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_UNSUPPORTED_TYPE - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_USE_PROXY - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HTTP_VERSION - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
HttpAuthentication - Interface in com.funambol.util
This interface represents a generic mechanism used by the HttpTransportAgent to get authenticated.
HttpConnectionAdapter - Class in com.funambol.platform
This class is a simple HttpConnection class that wraps the underlying standard edition HttpURLConnection.
HttpConnectionAdapter() - Constructor for class com.funambol.platform.HttpConnectionAdapter
 
HttpTransportAgent - Class in com.funambol.util
Represents a HTTP client implementation
HttpTransportAgent(String, boolean, boolean) - Constructor for class com.funambol.util.HttpTransportAgent
Create a new HttpTransportAgent.
HttpTransportAgent(String, String, boolean, boolean) - Constructor for class com.funambol.util.HttpTransportAgent
Create a new HttpTransportAgent using the default charset.
HttpTransportAgent(String, String, String, boolean, boolean) - Constructor for class com.funambol.util.HttpTransportAgent
Initialize a new HttpTransportAgent with a URL and a charset to use.
HttpTransportAgent.ConnectionTimer - Class in com.funambol.util
This class is used (with a Timer) to monitor a connection and interrupt it if it hangs for more than command timeout.
HttpTransportAgent.ConnectionTimer() - Constructor for class com.funambol.util.HttpTransportAgent.ConnectionTimer
Constructor

I

ILLEGAL_ARGUMENT - Static variable in exception com.funambol.util.CodedException
 
indexOf(String) - Method in class com.funambol.util.ChunkedString
Returns the index within this chunk of the first occurrence of the specified substring.
indexOf(String, int) - Method in class com.funambol.util.ChunkedString
Returns the index within this chunk of the first occurrence of the specified substring.
indexOf(ChunkedString) - Method in class com.funambol.util.ChunkedString
Returns the index within this chunk of the first occurrence of the specified substring.
INFO - Static variable in class com.funambol.util.Log
Log level INFO: used to log information messages.
info(String) - Static method in class com.funambol.util.Log
INFO: Information message
info(Object, String) - Static method in class com.funambol.util.Log
INFO: Information message
info(String, String) - Static method in class com.funambol.util.Log
INFO: Information message
initLog(Appender, int) - Static method in class com.funambol.util.Log
Initialize log file with a specific appender and log level.
initLog(Appender, int, int) - Static method in class com.funambol.util.Log
Initialize log file with a specific appender and log level.
initLog(Appender) - Static method in class com.funambol.util.Log
Ititialize log file
initLogFile() - Method in interface com.funambol.util.Appender
Initialize Log File
initLogFile() - Method in class com.funambol.util.ConsoleAppender
ConsoleAppender doesn't implement this method
initLogFile() - Method in class com.funambol.util.FileAppender
Init the logger
initLogFile() - Method in class com.funambol.util.MemoryAppender
 
initLogFile() - Method in class com.funambol.util.MultipleAppender
 
interval - Variable in class com.funambol.push.SyncRequest
 
isAfter(Date) - Method in class com.funambol.util.DateUtil
Utility method wrapping Calendar.after method Compares the date field parameter with the date provided with the constructor answering the question: date from constructor is after the given param date ?
isConnectionConfigurationAllowed(String) - Method in class com.funambol.util.BasicConnectionListener
Check if the connection configuration is allowed
isConnectionConfigurationAllowed(String) - Method in interface com.funambol.util.ConnectionListener
Notify that a connection will use a particular parameters configuration and ask if they are allowed (generally implemented on client level to ask the user for this configuration permission)
isDirectory() - Method in class com.funambol.platform.FileAdapter
Returns if this FileAdapter represents a directory on the underlying file system.
isEmpty() - Method in class com.funambol.util.ChunkedString
Returns true if the chunk is empty (i.e.
isFinished() - Method in interface com.funambol.util.Observable
boolean returning true if task is finished
isMandatory() - Method in class com.funambol.updater.BasicUpdaterConfig
 
isMandatory() - Method in interface com.funambol.updater.UpdaterConfig
 
isNewVersionAvailable() - Method in class com.funambol.updater.Updater
 
isNullOrEmpty(String) - Static method in class com.funambol.util.StringUtil
Returns true if the given string is null or empty.
isOfflineMode() - Method in class com.funambol.push.CTPService
 
isOptional() - Method in class com.funambol.updater.BasicUpdaterConfig
 
isOptional() - Method in interface com.funambol.updater.UpdaterConfig
 
isPushActive() - Method in class com.funambol.push.CTPService
Returns true iff CTP is running and it is properly connected and authenticated to the CTP service.
isRecommended() - Method in class com.funambol.updater.BasicUpdaterConfig
 
isRecommended() - Method in interface com.funambol.updater.UpdaterConfig
 
isRunning() - Method in class com.funambol.push.CTPService.HeartbeatGenerator
Returns true if the heart is beating.
isRunning() - Method in class com.funambol.push.CTPService
Returns true iff an instance of CTP is already running
isSetLastModifiedSupported() - Method in class com.funambol.platform.FileAdapter
Returns true if the underlying platform supports the setLastModified method.
isUpdateAvailable() - Method in class com.funambol.updater.Updater
 
isValidProtocol(String) - Static method in class com.funambol.util.StringUtil
This method check if the protocol used in the given url is valid.

J

join(String[], String) - Static method in class com.funambol.util.StringUtil
Join the given strings into a single string using sep as separator for individual values.

K

KEEPALIVE - Static variable in class com.funambol.platform.SocketAdapter
 
keys() - Method in class com.funambol.storage.StringKeyValueFileStore
 
keys() - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
keys() - Method in interface com.funambol.storage.StringKeyValueStore
Returns an enumeration with all the keys in the store.
keyValuePairs() - Method in class com.funambol.storage.StringKeyValueFileStore
 
keyValuePairs() - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
keyValuePairs() - Method in interface com.funambol.storage.StringKeyValueStore
Returns an enumeration of all the key/value pairs in the store.

L

lastModified() - Method in class com.funambol.platform.FileAdapter
Returns the timestamp of the last modification to the file
length() - Method in class com.funambol.util.ChunkedString
Returns the length of the substring.
LIMIT_ERROR - Static variable in exception com.funambol.util.CodedException
The limit (memory, items) in the client has been reached
LINGER - Static variable in class com.funambol.platform.SocketAdapter
 
list(boolean) - Method in class com.funambol.platform.FileAdapter
Gets a list of all visible files and directories contained in a directory.
LISTENING - Static variable in class com.funambol.push.CTPService
 
load() - Method in class com.funambol.storage.StringKeyValueFileStore
 
load() - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
load() - Method in interface com.funambol.storage.StringKeyValueStore
Load this store into memory.
load() - Method in class com.funambol.updater.BasicUpdaterConfig
 
load() - Method in interface com.funambol.updater.UpdaterConfig
 
Log - Class in com.funambol.util
Generic Log class
LogContent - Class in com.funambol.util
Log Container class.
LogContent(int, String) - Constructor for class com.funambol.util.LogContent
Build a log container specifying the appender information

M

mandatoryUpdateAvailable(String) - Method in interface com.funambol.updater.UpdaterListener
 
MD5 - Class in com.funambol.util
This class provides utitlities to compute MD5 for array of bytes.
MD5() - Constructor for class com.funambol.util.MD5
Standard constructor
MEMORY_ERROR - Static variable in exception com.funambol.util.CodedException
Out of memory error.
MemoryAppender - Class in com.funambol.util
 
MemoryAppender() - Constructor for class com.funambol.util.MemoryAppender
 
memoryStats(String) - Static method in class com.funambol.util.Log
Dump memory statistics at this point.
memoryStats(Object, String) - Static method in class com.funambol.util.Log
Dump memory statistics at this point.
merge(SyncRequest) - Method in class com.funambol.push.SyncRequest
This method checks if "this" request can be merged with another one.
MessageParserException - Exception in com.funambol.push
Exception handling errors in message parsing operations
MessageParserException(String) - Constructor for exception com.funambol.push.MessageParserException
Creates a new instance of MessageParserException
mkdir() - Method in class com.funambol.platform.FileAdapter
Creates a directory corresponding to the directory string provided in the constructor.
moveEnd(int) - Method in class com.funambol.util.ChunkedString
Move the backward the end index of 'n' characters.
moveStart(int) - Method in class com.funambol.util.ChunkedString
Move the forward start index of 'n' characters.
MultipleAppender - Class in com.funambol.util
an appender that contains multiple appenders
MultipleAppender() - Constructor for class com.funambol.util.MultipleAppender
 

O

Observable - Interface in com.funambol.util
this interface is used by classes running tasks to implements Observer / Observable paradigm.
Observer - Interface in com.funambol.util
the watcher of a watchable.
open(String) - Method in class com.funambol.platform.HttpConnectionAdapter
Open the connection to the given url.
openHttpConnection(String, Object) - Method in class com.funambol.util.ConnectionManager
Open an http connection to the given URL
openInputStream() - Method in class com.funambol.platform.FileAdapter
Open and return an input stream for this FileHandler.
openInputStream() - Method in class com.funambol.platform.HttpConnectionAdapter
Open the input stream.
openInputStream() - Method in class com.funambol.platform.SocketAdapter
Open and return an input stream for this Socket.
openLogFile() - Method in interface com.funambol.util.Appender
Open Log file
openLogFile() - Method in class com.funambol.util.ConsoleAppender
ConsoleAppender doesn't implement this method
openLogFile() - Method in class com.funambol.util.FileAppender
FileAppender doesn't implement this method
openLogFile() - Method in class com.funambol.util.MemoryAppender
 
openLogFile() - Method in class com.funambol.util.MultipleAppender
 
openOutputStream() - Method in class com.funambol.platform.FileAdapter
Open and return an output stream for this FileHandler.
openOutputStream(boolean) - Method in class com.funambol.platform.FileAdapter
Open and return an output stream for this FileHandler.
openOutputStream() - Method in class com.funambol.platform.HttpConnectionAdapter
Open the output stream.
openOutputStream() - Method in class com.funambol.platform.SocketAdapter
Open and return an output stream for this Socket.
openSocketConnection(String, int, int, boolean) - Method in class com.funambol.util.ConnectionManager
 
OPERATION_INTERRUPTED - Static variable in exception com.funambol.util.CodedException
 
optionalUpdateAvailable(String) - Method in interface com.funambol.updater.UpdaterListener
 

P

parseDate(String) - Static method in class com.funambol.util.DateUtil
Deprecated. use parseDateTime instead
parseDateTime(String) - Static method in class com.funambol.util.DateUtil
Parse date and time from a string.
parseMessage(byte[], boolean) - Method in class com.funambol.push.SANMessageParser
This method parses a byte stream and builds a SANMessage.
POST - Static variable in class com.funambol.platform.HttpConnectionAdapter
 
processBlock() - Method in class com.funambol.util.MD5
 
processHttpError(HttpConnectionAdapter) - Method in interface com.funambol.util.HttpAuthentication
Process any errors that the given HttpConnection has that are related to authentication.
processLength(long) - Method in class com.funambol.util.MD5
 
processWord(byte[], int) - Method in class com.funambol.util.MD5
 
PushConfig - Class in com.funambol.push
This class represents the system push subsystem configuration.
PushConfig() - Constructor for class com.funambol.push.PushConfig
 
put(String, String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
put(String, String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
put(String, String) - Method in interface com.funambol.storage.StringKeyValueStore
Deprecated. Use add and update methods instead.

Q

Queue - Class in com.funambol.util
A multithreaded queue used for implementing producer-consumer style threading patterns.
Queue() - Constructor for class com.funambol.util.Queue
 
QuotedPrintable - Class in com.funambol.util
A class containing static methods to perform decoding from quoted printable content transfer encoding and to encode into
QuotedPrintable() - Constructor for class com.funambol.util.QuotedPrintable
 

R

RCVBUF - Static variable in class com.funambol.platform.SocketAdapter
 
READ_SERVER_RESPONSE_ERROR - Static variable in exception com.funambol.util.CodedException
 
READ_WRITE - Static variable in class com.funambol.platform.SocketAdapter
 
readDateField(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
Read a UTF field to the given DataInputStream.
readField(DataInputStream) - Static method in class com.funambol.storage.ComplexSerializer
Read a UTF field to the given DataInputStream If the field exists write a "true", "False" otherwise
readStream(InputStream, int) - Method in class com.funambol.util.GzipStreamReader
 
readStream(InputStream, int) - Method in class com.funambol.util.SimpleStreamReader
Private Method called to read simple text based InputStream
readStream(InputStream, int) - Method in interface com.funambol.util.StreamReader
 
receiveMessage() - Method in class com.funambol.push.CTPService
Receives a message from the server (wait till a message is received or an error is encountered).
receiveMessageWithTimeout() - Method in class com.funambol.push.CTPService
Receives a message from the server.
recommendedUpdateAvailable(String) - Method in interface com.funambol.updater.UpdaterListener
 
remove(String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
remove(String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
remove(String) - Method in interface com.funambol.storage.StringKeyValueStore
Removes an entry from the store
remove() - Method in class com.funambol.util.Queue
Removes the first runnable object from the queue, blocking until one is available.
removeAllAppenders() - Method in class com.funambol.util.MultipleAppender
remove all the appenders
removeAppender(Appender) - Method in class com.funambol.util.MultipleAppender
remove given appender if present
removeBackslashes(String) - Static method in class com.funambol.util.StringUtil
Removes unwanted backslashes characters
removeBlanks(String) - Static method in class com.funambol.util.StringUtil
Removes unwanted blank characters
removeChar(String, char) - Static method in class com.funambol.util.StringUtil
Removes unwanted characters
removeDays(int) - Method in class com.funambol.util.DateUtil
Make the date go back of the specified amount of days The internal date is changed after this call.
removeNoWait() - Method in class com.funambol.util.Queue
Removes the first runnable object from the queue without blocking.
removeObserver(Observer) - Method in interface com.funambol.util.Observable
remove an observer from this observable
removePortFromUrl(String, String) - Static method in class com.funambol.util.StringUtil
 
rename(String) - Method in class com.funambol.platform.FileAdapter
Renames this File to the name represented by the File dest.
replaceAll(String, char, char) - Static method in class com.funambol.util.StringUtil
Replace all characters c1 with c2
replaceAll(String, String, String) - Static method in class com.funambol.util.StringUtil
Replace any occurrence of one string with another one
requestWritten() - Method in class com.funambol.util.BasicConnectionListener
Notify that a data request was succesfully written on the connection stream
requestWritten() - Method in interface com.funambol.util.ConnectionListener
Notify that the request was succesfully written on the connection stream
reset() - Method in class com.funambol.storage.StringKeyValueFileStore
 
reset() - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
reset() - Method in interface com.funambol.storage.StringKeyValueStore
Resets this data store.
reset() - Method in class com.funambol.util.ChunkedString
Reset the chunk indexes to the lenght of the whole buffer.
responseReceived() - Method in class com.funambol.util.BasicConnectionListener
Notify that a response was received after the request was sent
responseReceived() - Method in interface com.funambol.util.ConnectionListener
Notify that a response related to the sent request was received
restartService(PushConfig) - Method in class com.funambol.push.CTPService
Restarts the service.
restartService() - Method in class com.funambol.push.CTPService
Restarts the service.
run() - Method in class com.funambol.push.CTPService.ConnectionTimer
This method is invoked when the alarm expires.
run() - Method in class com.funambol.push.CTPService.HeartbeatGenerator
This is the heart beat main loop.
run() - Method in class com.funambol.push.CTPService
This is the thread entry point.
run() - Method in class com.funambol.util.HttpTransportAgent.ConnectionTimer
This method is invoked when the alarm expires.

S

SANMessage - Class in com.funambol.push
Class handling properties of a Server Alert Notification Message coming from the server
SANMessage() - Constructor for class com.funambol.push.SANMessage
 
SANMessage(String, String, char, char, int, String, int, SyncInfo[]) - Constructor for class com.funambol.push.SANMessage
Creates a new instance of SANMessage
SANMessageParser - Class in com.funambol.push
Message Parser for messages carring a server alerted notification (SAN)
SANMessageParser() - Constructor for class com.funambol.push.SANMessageParser
Creates a new instance of SANMessageParser
save() - Method in class com.funambol.storage.StringKeyValueFileStore
 
save() - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
save() - Method in interface com.funambol.storage.StringKeyValueStore
Persist this store.
save() - Method in class com.funambol.updater.BasicUpdaterConfig
 
save() - Method in interface com.funambol.updater.UpdaterConfig
 
sendMessage(CTPService.CTPMessage) - Method in class com.funambol.push.CTPService
Sends a message to the server and monitor the operation via a timer.
sendMessage(String) - Method in class com.funambol.util.HttpTransportAgent
Send a message using the default (UTF-8) charset.
sendMessage(String, String) - Method in class com.funambol.util.HttpTransportAgent
Send the http request specifying the required encoding charset for the http headers.
sendMessage(byte[]) - Method in class com.funambol.util.HttpTransportAgent
Send the http request and read the response.
sendMessage(String, String) - Method in interface com.funambol.util.TransportAgent
 
sendMessage(String) - Method in interface com.funambol.util.TransportAgent
 
Serializable - Interface in com.funambol.storage
A simple interface to serialize objects on j2ME platform
serialize(DataOutputStream) - Method in class com.funambol.push.PushConfig
Serialize this object to the given output stream.
serialize(DataOutputStream) - Method in interface com.funambol.storage.Serializable
Write object fields to the output stream.
serialize(DataOutputStream) - Method in class com.funambol.updater.BasicUpdaterConfig
 
serializeHashTable(DataOutputStream, Hashtable) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to serialize a Hashtable
serializeObject(DataOutputStream, Object) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to serialize an Object.
serializeObjectArray(DataOutputStream, Object[]) - Static method in class com.funambol.storage.ComplexSerializer
Serialize a given array of objects into a given DataOutputStream
serializeVector(DataOutputStream, Vector) - Static method in class com.funambol.storage.ComplexSerializer
A helper method to serialize a Vector
setActivationDate(long) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setActivationDate(long) - Method in interface com.funambol.updater.UpdaterConfig
 
setAuthentication(HttpAuthentication) - Method in class com.funambol.util.HttpTransportAgent
Set the authentication object to use to authenticate requests made with this transport agent.
setAvailableVersion(String) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setAvailableVersion(String) - Method in interface com.funambol.updater.UpdaterConfig
 
setCheckInterval(long) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setCheckInterval(long) - Method in interface com.funambol.updater.UpdaterConfig
 
setChunkedStreamingMode(int) - Method in class com.funambol.platform.HttpConnectionAdapter
Set chunked encoding for the file to be uploaded.
setClientMaxLogLevel(int) - Static method in class com.funambol.util.Log
Allow clients to specify their maximum log level.
setCommand(int) - Method in class com.funambol.push.CTPService.CTPMessage
Sets the command or status code
setConfig(PushConfig) - Method in class com.funambol.push.CTPService
set the push config
setContentPath(String) - Method in class com.funambol.util.FileAppender
Sets the content path.
setContentType(String) - Method in class com.funambol.push.SyncInfo
sets the String : contentType
setCtpCmdTimeout(int) - Method in class com.funambol.push.PushConfig
Sets the ctp command timeout parameter
setCtpConnTimeout(int) - Method in class com.funambol.push.PushConfig
Sets the ctp connection timeout parameter
setCTPListener(CTPListener) - Method in class com.funambol.push.CTPService
 
setCtpMaxRetry(int) - Method in class com.funambol.push.PushConfig
Set the ctp max retry parameter
setCtpNonce(byte[]) - Method in class com.funambol.push.PushConfig
Sets the ctp nonce
setCtpNotifyTimeout(int) - Method in class com.funambol.push.PushConfig
Sets the ctp notify timeout
setCtpPassword(String) - Method in class com.funambol.push.PushConfig
Sets the ctp password
setCtpPort(int) - Method in class com.funambol.push.PushConfig
Sets the ctp server port
setCtpReady(int) - Method in class com.funambol.push.PushConfig
Sets the ctp ready period
setCtpRetry(int) - Method in class com.funambol.push.PushConfig
Set the ctp retry parameter
setCtpServer(String) - Method in class com.funambol.push.PushConfig
Sets the CTP server name
setCtpUsername(String) - Method in class com.funambol.push.PushConfig
Sets the ctp user name
setDeviceId(String) - Method in class com.funambol.push.PushConfig
Sets the device id
setDigest(String) - Method in class com.funambol.push.SANMessage
 
setDownloadUrl(String) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setDownloadUrl(String) - Method in interface com.funambol.updater.UpdaterConfig
 
setInitiator(char) - Method in class com.funambol.push.SANMessage
 
setKey(String) - Method in class com.funambol.storage.StringKeyValuePair
 
setLastCheck(long) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setLastCheck(long) - Method in interface com.funambol.updater.UpdaterConfig
 
setLastModified(long) - Method in class com.funambol.platform.FileAdapter
Sets the last modification time for this file Users shall check if the operation is supported by invoking
setLastReminder(long) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setLastReminder(long) - Method in class com.funambol.updater.Updater
 
setLastReminder(long) - Method in interface com.funambol.updater.UpdaterConfig
 
setLimit(int) - Method in class com.funambol.util.MemoryAppender
 
setListener(SyncSchedulerListener) - Method in class com.funambol.push.SyncScheduler
Set a Listener to the SyncScheduler.
setListener(UpdaterListener) - Method in class com.funambol.updater.Updater
 
setLogContentType(boolean) - Method in class com.funambol.util.FileAppender
Sets the content type of the log when it is retrieved via getLogContent.
setLogLevel(int) - Method in interface com.funambol.util.Appender
Perform additional actions needed when setting a new level.
setLogLevel(int) - Method in class com.funambol.util.ConsoleAppender
Perform additional actions needed when setting a new level.
setLogLevel(int) - Method in class com.funambol.util.FileAppender
Perform additional actions needed when setting a new level.
setLogLevel(int) - Static method in class com.funambol.util.Log
Accessor method to define log level:
setLogLevel(int) - Method in class com.funambol.util.MemoryAppender
Perform additional actions needed when setting a new level.
setLogLevel(int) - Method in class com.funambol.util.MultipleAppender
Perform additional actions needed when setting a new level.
setMaxFileSize(long) - Method in class com.funambol.util.FileAppender
Sets the maximum file size.
setNumberOfSync(int) - Method in class com.funambol.push.SANMessage
 
setOfflineMode(boolean) - Method in class com.funambol.push.CTPService
turn offline mode on/off.
setPassword(String) - Method in interface com.funambol.util.HttpAuthentication
Set the password to the given string.
setPushNotificationListener(CTPNotificationListener) - Method in class com.funambol.push.CTPService
Sets the push events listener.
setQueuePush(boolean) - Method in class com.funambol.push.PushConfig
Set the queuePush parameter
setReminderInterval(long) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setReminderInterval(long) - Method in interface com.funambol.updater.UpdaterConfig
 
setRequestContentType(String) - Method in class com.funambol.util.HttpTransportAgent
Set the content type used for http requests
setRequestMethod(String) - Method in class com.funambol.platform.HttpConnectionAdapter
Set the method for the URL request, one of: GET POST HEAD are legal, subject to protocol restrictions.
setRequestProperty(String, String) - Method in class com.funambol.platform.HttpConnectionAdapter
Sets the general request property.
setRequestUri(String) - Method in class com.funambol.updater.Updater
 
setRequestURL(String) - Method in class com.funambol.util.HttpTransportAgent
Set the request's url
setRequestURL(String) - Method in interface com.funambol.util.TransportAgent
Set the request's url
setResendMessageOnErrors(boolean) - Method in class com.funambol.util.HttpTransportAgent
Set if the messages should be resent in case of errors
setRetryOnWrite(int) - Method in class com.funambol.util.HttpTransportAgent
Set the number of http writing attempts
setRetryOnWrite(int) - Method in interface com.funambol.util.TransportAgent
Sets the number of writing tentatives for the the implementing transport agent
setServerId(String) - Method in class com.funambol.push.SANMessage
 
setServerUri(String) - Method in class com.funambol.push.SyncInfo
sets the String : serverUri
setSessionId(int) - Method in class com.funambol.push.SANMessage
 
setSkip(boolean) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setSkip() - Method in class com.funambol.updater.Updater
 
setSkip(boolean) - Method in interface com.funambol.updater.UpdaterConfig
 
setSocketOption(byte, int) - Method in class com.funambol.platform.SocketAdapter
 
setSyncInfos(SyncInfo[]) - Method in class com.funambol.push.SANMessage
 
setSyncType(int) - Method in class com.funambol.push.SyncInfo
sets the int : syncType
setThreadPool(ThreadPool) - Method in class com.funambol.push.CTPService
Sets the thread pool in which the CTP service will be started (has effect at the next start or restart)
setThreshold(int) - Method in class com.funambol.util.HttpTransportAgent
Set the http "Size-Threshold" header parameter
setTime(Date) - Method in class com.funambol.util.DateUtil
Set a new time
setTimeoutConnection(long) - Method in class com.funambol.util.HttpTransportAgent
 
setTransportAgent(TransportAgent) - Method in class com.funambol.updater.Updater
 
setType(String) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setType(String) - Method in interface com.funambol.updater.UpdaterConfig
 
setUiMode(char) - Method in class com.funambol.push.SANMessage
 
setUri(String) - Method in interface com.funambol.util.HttpAuthentication
Set the authentication URI to the given string.
setUrl(String) - Method in class com.funambol.updater.BasicUpdaterConfig
 
setUrl(String) - Method in interface com.funambol.updater.UpdaterConfig
 
setUsername(String) - Method in interface com.funambol.util.HttpAuthentication
Set the username to the given string.
setValue(String) - Method in class com.funambol.storage.StringKeyValuePair
 
setVersion(String) - Method in class com.funambol.push.SANMessage
 
SimpleStreamReader - Class in com.funambol.util
 
SimpleStreamReader() - Constructor for class com.funambol.util.SimpleStreamReader
Creates a new instance of SimpleStreamReader
size() - Method in class com.funambol.util.Queue
Returns the current number of runnable objects in the queue
SNDBUF - Static variable in class com.funambol.platform.SocketAdapter
 
SocketAdapter - Class in com.funambol.platform
This class is a proxy to java.net.Socket to provide a common access to a socket resource on all mobile platforms.
SocketAdapter(String, int, int, boolean) - Constructor for class com.funambol.platform.SocketAdapter
Creates a FileAdapter instance, opening the underlying SocketConnection.
split(String) - Method in class com.funambol.util.ChunkedString
Split the string into an array of strings using one of the separator in 'sep'.
split(String, String) - Static method in class com.funambol.util.StringUtil
Split the string into an array of strings using one of the separator in 'sep'.
split(String, String[]) - Static method in class com.funambol.util.StringUtil
Split the string into an array of strings using one of the separator in 'sep'.
ST_ERROR - Static variable in class com.funambol.push.CTPService
 
ST_FORBIDDEN - Static variable in class com.funambol.push.CTPService
 
ST_JUMP - Static variable in class com.funambol.push.CTPService
 
ST_NOT_AUTHENTICATED - Static variable in class com.funambol.push.CTPService
 
ST_OK - Static variable in class com.funambol.push.CTPService
Status
ST_RETRY - Static variable in class com.funambol.push.CTPService
 
ST_SYNC - Static variable in class com.funambol.push.CTPService
 
ST_UNAUTHORIZED - Static variable in class com.funambol.push.CTPService
 
StackTracePrinter - Class in com.funambol.util
 
StackTracePrinter() - Constructor for class com.funambol.util.StackTracePrinter
 
startService() - Method in class com.funambol.push.CTPService
 
startService(PushConfig) - Method in class com.funambol.push.CTPService
Start the complete CTP service.
startsWith(String) - Method in class com.funambol.util.ChunkedString
Returns true if the chunk is starts with the specified substring.
startThread(Runnable) - Method in class com.funambol.util.ThreadPool
Start a new task in a separate thread which is monitored by the object monitor set in the constructor.
state - Variable in class com.funambol.push.CTPService
CTPService status
stats(String) - Static method in class com.funambol.util.Log
Dump time statistics at this point.
stats(Object, String) - Static method in class com.funambol.util.Log
Dump time statistics at this point.
stopService() - Method in class com.funambol.push.CTPService
Stops the service.
STORAGE_ERROR - Static variable in exception com.funambol.util.CodedException
Storage error.
store - Variable in class com.funambol.storage.StringKeyValueFileStore
 
store - Variable in class com.funambol.storage.StringKeyValueMemoryStore
 
StreamReader - Interface in com.funambol.util
 
StreamReaderFactory - Class in com.funambol.util
Factory Class: return StreamReader objects
STRING_CONTENT - Static variable in class com.funambol.util.LogContent
 
StringKeyValueFileStore - Class in com.funambol.storage
 
StringKeyValueFileStore(String) - Constructor for class com.funambol.storage.StringKeyValueFileStore
 
StringKeyValueMemoryStore - Class in com.funambol.storage
 
StringKeyValueMemoryStore() - Constructor for class com.funambol.storage.StringKeyValueMemoryStore
 
StringKeyValuePair - Class in com.funambol.storage
Represents a Key Value pair used by the StringKeyValueStore implementations
StringKeyValuePair() - Constructor for class com.funambol.storage.StringKeyValuePair
 
StringKeyValuePair(String, String) - Constructor for class com.funambol.storage.StringKeyValuePair
 
StringKeyValueStore - Interface in com.funambol.storage
This interface defines a generic data store for strings where data is orgnized as key/value pair.
StringUtil - Class in com.funambol.util
Utility class useful when dealing with string objects.
substring(int, int) - Method in class com.funambol.util.ChunkedString
Creates a new ChunkedString from the specified indexes.
substring(int) - Method in class com.funambol.util.ChunkedString
Creates a new ChunkedString from the specified indexes.
sync(Object[]) - Method in interface com.funambol.push.SyncSchedulerListener
Invoked by the SyncScheduler when a sync needs to be started
SyncInfo - Class in com.funambol.push
Class for storing sync information parsed from notification message
SyncInfo() - Constructor for class com.funambol.push.SyncInfo
 
SyncRequest - Class in com.funambol.push
This class represents a request for synchronization that clients can ask to the SyncScheduler.
SyncRequest(Object, long) - Constructor for class com.funambol.push.SyncRequest
 
SyncScheduler - Class in com.funambol.push
This class queues sync requests and perform basic requests merging that can be used for client to server push.
SyncScheduler(SyncSchedulerListener) - Constructor for class com.funambol.push.SyncScheduler
Construct a scheduler with the given listener.
SyncSchedulerListener - Interface in com.funambol.push
A simple interface for building a SyncSchedulerListener.

T

ThreadPool - Class in com.funambol.util
ThreadPool manages threads which are created within the pool.
ThreadPool(ThreadPoolMonitor, int) - Constructor for class com.funambol.util.ThreadPool
Constructs a ThreadPool with the given monitor and the given maximum number of concurrent threads
ThreadPool(int) - Constructor for class com.funambol.util.ThreadPool
Constructs a ThreadPool with a default monitor (@see ThreadPoolMonitor) and the given maximun number of concurrent threads
ThreadPoolMonitor - Class in com.funambol.util
Class monitoring the thread pool to handle any throwable
ThreadPoolMonitor() - Constructor for class com.funambol.util.ThreadPoolMonitor
 
timeStats(String) - Static method in class com.funambol.util.Log
Dump time statistics at this point.
timeStats(Object, String) - Static method in class com.funambol.util.Log
Dump time statistics at this point.
toGMT() - Method in class com.funambol.util.DateUtil
Convert the date to GMT.
toMidnight() - Method in class com.funambol.util.DateUtil
Convert the time to the midnight of the currently set date.
toString() - Method in class com.funambol.push.PushConfig
Returns a string containing the config details
toString() - Method in class com.funambol.push.SANMessage
 
toString() - Method in class com.funambol.util.ChunkedString
Return a copy of the string limited by the chunk indexes.
toTZ(String) - Method in class com.funambol.util.DateUtil
Convert the date to the given timezone.
TRACE - Static variable in class com.funambol.util.Log
Log level TRACE: used to trace the program execution.
trace(String) - Static method in class com.funambol.util.Log
TRACE: Debugger mode
trace(Object, String) - Static method in class com.funambol.util.Log
TRACE: Information message
trace(String, String) - Static method in class com.funambol.util.Log
TRACE: Information message
TransportAgent - Interface in com.funambol.util
Transport Agent interface.
trim(String, char) - Static method in class com.funambol.util.StringUtil
Removes characters 'c' from the beginning and the end of the string

U

unescapeXml(String) - Static method in class com.funambol.util.XmlUtil
Unescapes a string containing XML entity escapes to a string containing the actual Unicode characters corresponding to the escapes.
update(String, String) - Method in class com.funambol.storage.StringKeyValueFileStore
 
update(String, String) - Method in class com.funambol.storage.StringKeyValueMemoryStore
 
update(String, String) - Method in interface com.funambol.storage.StringKeyValueStore
Update and existing item into the store.
update(Object) - Method in interface com.funambol.util.Observer
 
UPDATE_TYPE_MANDATORY - Static variable in class com.funambol.updater.BasicUpdaterConfig
 
UPDATE_TYPE_OPTIONAL - Static variable in class com.funambol.updater.BasicUpdaterConfig
 
UPDATE_TYPE_RECOMMENDED - Static variable in class com.funambol.updater.BasicUpdaterConfig
 
Updater - Class in com.funambol.updater
 
Updater(UpdaterConfig, String, String) - Constructor for class com.funambol.updater.Updater
 
Updater(UpdaterConfig, String, String, String) - Constructor for class com.funambol.updater.Updater
 
Updater(UpdaterConfig, String, String, String, String, String, String, String) - Constructor for class com.funambol.updater.Updater
 
Updater(UpdaterConfig, String, TransportAgent) - Constructor for class com.funambol.updater.Updater
 
UpdaterConfig - Interface in com.funambol.updater
 
UpdaterListener - Interface in com.funambol.updater
 

W

WRITE_SERVER_REQUEST_ERROR - Static variable in exception com.funambol.util.CodedException
 
writeDateField(DataOutputStream, Date) - Static method in class com.funambol.storage.ComplexSerializer
Write a Date field to the given DataOutputStream.
writeField(DataOutputStream, String) - Static method in class com.funambol.storage.ComplexSerializer
Write a UTF field to the given DataOutputStream If the field is not null write a "true" before the field, just "False" otherwise.
writeLogMessage(String, String) - Method in interface com.funambol.util.Appender
Append a message to the Log file
writeLogMessage(String, String) - Method in class com.funambol.util.ConsoleAppender
ConsoleAppender writes one message on the standard output
writeLogMessage(String, String) - Method in class com.funambol.util.FileAppender
FileAppender writes one message to the output file
writeLogMessage(String, String) - Method in class com.funambol.util.MemoryAppender
 
writeLogMessage(String, String) - Method in class com.funambol.util.MultipleAppender
 

X

XmlException - Exception in com.funambol.util
This exception is raised when an Xml parsing error occurs.
XmlException() - Constructor for exception com.funambol.util.XmlException
Creates a new instance of XmlException without detail message.
XmlException(String) - Constructor for exception com.funambol.util.XmlException
Constructs an instance of XmlException with the specified detail message.
XmlUtil - Class in com.funambol.util
Utility class that XML manipulation functions.

A B C D E F G H I J K L M O P Q R S T U W X

Copyright © 2001-2009 Funambol.