- ENCODE - Static variable in class org.jivesoftware.util.Base64
-
Specify encoding.
- encodeBase64(String) - Static method in class org.jivesoftware.whack.util.StringUtils
-
Encodes a String as a base64 String.
- encodeBase64(byte[]) - Static method in class org.jivesoftware.whack.util.StringUtils
-
Encodes a byte array into a base64 String.
- encodeBytes(byte[]) - Static method in class org.jivesoftware.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class org.jivesoftware.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class org.jivesoftware.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class org.jivesoftware.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeFileToFile(String, String) - Static method in class org.jivesoftware.util.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class org.jivesoftware.util.Base64
-
Convenience method for reading a binary file
and base64-encoding it.
- encodeHex(byte[]) - Static method in class org.jivesoftware.whack.util.StringUtils
-
Turns an array of bytes into a String representing each byte as an
unsigned hex number.
- encodeObject(Serializable) - Static method in class org.jivesoftware.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeObject(Serializable, int) - Static method in class org.jivesoftware.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeToFile(byte[], String) - Static method in class org.jivesoftware.util.Base64
-
Convenience method for encoding data to a file.
- error(String) - Method in interface org.xmpp.component.Log
-
Deprecated.
Logs an error.
- error(String, Throwable) - Method in interface org.xmpp.component.Log
-
Deprecated.
Logs an error.
- error(Throwable) - Method in interface org.xmpp.component.Log
-
Deprecated.
Logs an error.
- escapeForXML(String) - Static method in class org.jivesoftware.whack.util.StringUtils
-
Escapes all necessary characters in the String so that it can be used
in an XML doc.
- ExternalComponent - Class in org.jivesoftware.whack
-
ExternalComponents are responsible for connecting and authenticating with a remote server and
for sending and processing received packets.
- ExternalComponent(Component, ExternalComponentManager) - Constructor for class org.jivesoftware.whack.ExternalComponent
-
- ExternalComponent(Component, ExternalComponentManager, int) - Constructor for class org.jivesoftware.whack.ExternalComponent
-
- ExternalComponentManager - Class in org.jivesoftware.whack
-
Implementation of the ComponentManager interface for external components.
- ExternalComponentManager(String) - Constructor for class org.jivesoftware.whack.ExternalComponentManager
-
Constructs a new ExternalComponentManager that will make connections
to the specified XMPP server on the default external component port (5275).
- ExternalComponentManager(String, int) - Constructor for class org.jivesoftware.whack.ExternalComponentManager
-
Constructs a new ExternalComponentManager that will make connections to
the specified XMPP server on the given port.
- getAttribute(String, String) - Method in class org.jivesoftware.util.XMLProperties
-
Returns the value of the attribute of the given property name or null
if it doesn't exist.
- getAuthor(Component) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns the author of a component.
- getChildProperties(String) - Method in class org.jivesoftware.util.XMLProperties
-
Return all values who's path matches the given property
name as a String array, or an empty array if the if there
are no children.
- getChildrenProperties(String) - Method in class org.jivesoftware.util.XMLProperties
-
Return all children property names of a parent property as a String array,
or an empty array if the if there are no children.
- getComponent(String) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns a component by name or null if a component with that name does not
exist.
- getComponent() - Method in class org.jivesoftware.whack.ExternalComponent
-
- getComponentDirectory(Component) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns the component's directory.
- getComponents() - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns a Collection of all found components.
- getConnectTimeout() - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Returns the timeout (in milliseconds) to use when trying to connect to the server.
- getDateInstance(Object, TimeZone, Locale) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getDateTimeInstance(Object, Object, TimeZone, Locale) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getDescription(Component) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns the description of a component.
- getDescription() - Method in class org.jivesoftware.whack.ExternalComponent
-
- getDispatchHandler() - Method in class org.dom4j.io.XPPPacketReader
-
- getDocumentFactory() - Method in class org.dom4j.io.XPPPacketReader
-
- getDomain() - Method in class org.jivesoftware.whack.ExternalComponent
-
Returns the domain provided by this component in the connected server.
- getHomeDirectory() - Method in class org.jivesoftware.whack.container.ServerContainer
-
- getInstance() - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String, TimeZone) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String, Locale) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String, DateFormatSymbols) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String, TimeZone, Locale) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance(String, TimeZone, Locale, DateFormatSymbols) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getInstance() - Static method in class org.jivesoftware.whack.container.ServerContainer
-
- getInstance() - Static method in class org.jivesoftware.whack.util.TaskEngine
-
Returns a task engine instance (singleton).
- getLocale() - Method in class org.jivesoftware.util.FastDateFormat
-
- getLog() - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Deprecated.
- getManager() - Method in class org.jivesoftware.whack.container.ServerContainer
-
- getMaxLengthEstimate() - Method in class org.jivesoftware.util.FastDateFormat
-
Returns an estimate for the maximum length date that this date
formatter will produce.
- getName(Component) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns the name of a component.
- getName() - Method in class org.jivesoftware.whack.ExternalComponent
-
- getPattern() - Method in class org.jivesoftware.util.FastDateFormat
-
- getProperties(String) - Method in class org.jivesoftware.util.XMLProperties
-
Return all values who's path matches the given property
name as a String array, or an empty array if the if there
are no children.
- getProperties() - Method in class org.jivesoftware.whack.container.ServerContainer
-
- getProperty(String) - Method in class org.jivesoftware.util.XMLProperties
-
Returns the value of the specified property.
- getProperty(String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
- getSecretKey(String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Returns the secret key for a sub-domain.
- getServerName() - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Returns the domain of the XMPP server where we are connected to or null if
this value was never configured.
- getSubdomain() - Method in class org.jivesoftware.whack.ExternalComponent
-
Returns the subdomain provided by this component in the connected server.
- getTimeInstance(Object, TimeZone, Locale) - Static method in class org.jivesoftware.util.FastDateFormat
-
- getTimeZone() - Method in class org.jivesoftware.util.FastDateFormat
-
Returns the time zone used by this formatter, or null if time zone of
formatted dates is used instead.
- getVersion(Component) - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Returns the version of a component.
- getXPPFactory() - Method in class org.dom4j.io.XPPPacketReader
-
- getXPPParser() - Method in class org.dom4j.io.XPPPacketReader
-
- GZIP - Static variable in class org.jivesoftware.util.Base64
-
Specify that data should be gzip-compressed.
- randomString(int) - Static method in class org.jivesoftware.whack.util.StringUtils
-
Returns a random String of numbers and letters (lower and upper case)
of the specified length.
- read(File) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given File
- read(URL) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given URL
- read(String) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given URL or filename.
- read(InputStream) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given stream
- read(Reader) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given Reader
- read(char[]) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given array of characters
- read(InputStream, String) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given stream
- read(Reader, String) - Method in class org.dom4j.io.XPPPacketReader
-
Reads a Document from the given Reader
- read() - Method in class org.jivesoftware.util.Base64.InputStream
-
Reads enough of the input stream to convert
to/from Base64 and returns the next byte.
- read(byte[], int, int) - Method in class org.jivesoftware.util.Base64.InputStream
-
- registerServlets(ComponentFinder, Component, File) - Static method in class org.jivesoftware.whack.container.ComponentServlet
-
Registers all JSP page servlets for a component.
- removeComponent(String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
- removeHandler(String) - Method in class org.dom4j.io.XPPPacketReader
-
Removes the ElementHandler
from the event based
processor, for the specified path.
- removeListener(PropertyEventListener) - Static method in class org.jivesoftware.util.PropertyEventDispatcher
-
Unregisters a listener to receive events.
- resumeEncoding() - Method in class org.jivesoftware.util.Base64.OutputStream
-
Resumes encoding of the stream.
- schedule(TimerTask, long) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for execution after the specified delay.
- schedule(TimerTask, Date) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for execution at the specified time.
- schedule(TimerTask, long, long) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for repeated fixed-delay execution,
beginning after the specified delay.
- schedule(TimerTask, Date, long) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for repeated fixed-delay execution,
beginning at the specified time.
- scheduleAtFixedRate(TimerTask, long, long) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for repeated fixed-rate execution,
beginning after the specified delay.
- scheduleAtFixedRate(TimerTask, Date, long) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Schedules the specified task for repeated fixed-rate execution,
beginning at the specified time.
- send(Packet) - Method in class org.jivesoftware.whack.ExternalComponent
-
- sendPacket(Component, Packet) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
- ServerContainer - Class in org.jivesoftware.whack.container
-
Starts the web server and components finder.
- ServerContainer() - Constructor for class org.jivesoftware.whack.container.ServerContainer
-
- service(HttpServletRequest, HttpServletResponse) - Method in class org.jivesoftware.whack.container.ComponentServlet
-
- setConnectTimeout(int) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Sets the timeout (in milliseconds) to use when trying to connect to the server.
- setDefaultHandler(ElementHandler) - Method in class org.dom4j.io.XPPPacketReader
-
When multiple ElementHandler
instances have been
registered, this will set a default ElementHandler
to be called for any path which does NOT have a handler
registered.
- setDefaultSecretKey(String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Sets the default secret key, which will be used when connecting if a
specific secret key for the component hasn't been sent.
- setDispatchHandler(DispatchHandler) - Method in class org.dom4j.io.XPPPacketReader
-
- setDocumentFactory(DocumentFactory) - Method in class org.dom4j.io.XPPPacketReader
-
This sets the DocumentFactory
used to create new documents.
- setMultipleAllowed(String, boolean) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Sets whether we will tell the XMPP server that we want multiple components to be able to connect
to the same JID.
- setProperties(String, List<String>) - Method in class org.jivesoftware.util.XMLProperties
-
Sets a property to an array of values.
- setProperties(Map<String, String>) - Method in class org.jivesoftware.util.XMLProperties
-
- setProperty(String, String) - Method in class org.jivesoftware.util.XMLProperties
-
Sets the value of the specified property.
- setProperty(String, String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
- setSecretKey(String, String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Sets a secret key for a sub-domain, for future use by a component
connecting to the server.
- setServerName(String) - Method in class org.jivesoftware.whack.ExternalComponentManager
-
Sets the domain of the XMPP server.
- setXPPFactory(XmlPullParserFactory) - Method in class org.dom4j.io.XPPPacketReader
-
- SHORT - Static variable in class org.jivesoftware.util.FastDateFormat
-
Style pattern
- shutdown() - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Shuts down running components that were found by the service.
- shutdown() - Method in class org.jivesoftware.whack.ExternalComponent
-
- shutdown() - Method in class org.jivesoftware.whack.util.TaskEngine
-
Shuts down the task engine service.
- start() - Method in class org.jivesoftware.whack.container.ComponentFinder
-
Starts the service that looks for components.
- start() - Method in class org.jivesoftware.whack.container.ServerContainer
-
- start() - Method in class org.jivesoftware.whack.ExternalComponent
-
- StringUtils - Class in org.jivesoftware.whack.util
-
A collection of utility methods for String objects.
- submit(Runnable) - Method in class org.jivesoftware.whack.util.TaskEngine
-
Submits a Runnable task for execution and returns a Future
representing that task.
- suspendEncoding() - Method in class org.jivesoftware.util.Base64.OutputStream
-
Suspends encoding of the stream.