-
API & Extension -
jChatBox is opened to Designers and
Programmers.
Designers can customize JSP files to provide
their own HTML/CSS/JavaScript skin. They should
use a provided skin (Multilanguage, mIRC, Classic, j-TV) as
a starting point. They could easily modify colors, layout,
fonts, labels, ...
Designers
can modify jcbskin.xml to provide their
own Applet skin. They should use a provided
skin (Multilanguage, eXtremeSUN, Manga, Comics) as a starting
point. They could easily modify colors, images, layout, fonts,
labels, ...
[Learn
more about Applet skins]
Designers
can rely on FLASH5 script and API
to write their own FLASH5&6MX
client. Thanks to the XMLConnector service
jChatBox is now ready for FLASH5+ clients. Designers can write
one using our script that provides the communication layer
with any jChatBox server.[Learn
more FLASH5 Script]
Programmers
can extend jChatBox : |
- They
can add more languages
and support to jChatBox through XML resources files
under $JCHATBOX_HOME/WEB-INF/conf/
folder. New resources files have to be declared in
jchatbox.xml to be loaded on Runtime.
<element> tags could be added (but not removed)
and used in custom skins :
"login.test.label" key could
be added in resources_en.xml (and all others XML resources
files) :
<element>
<name>login.test.label</name>
<value>A label for testing</value>
</element>
and used in custom login.jsp based on multilanguage
skin only through :
<%= chatroomBundle.getString("login.test.label")
%>
- They
can implement their own client
(HTML/JavaScript, Applet, Flash, Java Application).
They only need API (JavaDoc) to know how to interact
with jChatBox server-side. HTML/JavaScript skin are
also a good starting point.
- They
can implement additional
filters by extending jChatBox.Chat.Filter.Filter
abstract class. Filters are declared in jchatbox.xml
and loaded at Runtime.
Filters must implement Serializable.
Developers have to implement process(String input)
and init method. _id, _name and _description fields
should be filled in in this constructor with no arguments.
See Emoticons open source filter
sample in jChatBox
Add-Ons section.
- They
can implement additional
Transcript by extending jChatBox.Chat.Transcript.Dump
abstract class. Transcript implementation is declared
in jchatbox.xml and loaded at Runtime.
Developers have to implement process(Chatroom
room, String filename) and init method. _id, _name
and _description fields should be filled in in this
constructor with no arguments.
See
XMLTranscriptor open source implementation sample
in jChatBox
Add-Ons section.
[Browse
jChatBox JavaDoc]
|
jChatBox
provides XML formated content
:
jChatbox is now opened to XML through the XMLConnector
service. Anyone can communicate to a jChatBox server to get
chatroom's info and content as XML. That's way it's easy to
create remote clients like FLASH5+, APPLETS or anything
that could "speak" XML. Thanks to the XMLConnector
service you can also create XSL skins, so plugged to
an XSLT processor you can transform chatroom's content into
documents viewable for many devices (PC, Mobile, PDA ...).
[Learn
more about XMLConnector]
|