jjCode
About jjCode
jjCode is a small and concise Java library to process and interpret bbCode sequences and smileys and translate them to HTML code.
Features at a glance :
- Compatible with JDK 1.4+
- No dependancies on third-party librar
- Lightweight - about 35 Kb
- Fully customizable using CSS
- Comes with a standard CSS, a standard set of smileys and a set of messages in english that you can use in your projects to start deve
- The user decides which code sequences are allowed and which are not
- Easily extensible
- Allows two-stage processing
- Provides HTML editing controls for each sequence
jjCode has been designed for JDK 1.4+. It has no dependancies on other java libraries, and it is very lightweight - about 35 Kb.
Currently, jjCode can handle the following sequences:
Command Sequence | Rendering result with default CSS | Editing control | ||||
[b]...[/b] |
bold text | |||||
[u]...[/u] |
underlined text | |||||
[i]...[/u] |
italics | |||||
[sub]...[/sub] |
subscript : H2O | |||||
[sup]...[/sup] |
superscript : eiπ=-1 | |||||
[color=color] ... [/color] |
Sample text in different colors | Color | ||||
[email=sample@somewhere.com]...[/email] |
Press here to contact us | |||||
[size=pt]...[/size] |
Several different Sizes | Size | ||||
[quote=user]...[quote] |
And then you said:
What a troll! |
|||||
[url=link]...[/url] |
Go get Java now | |||||
[img=url] alt text [/image] |
Here is an image for you : ![]() |
|||||
[audio=url] alt text [/audio] |
Listen to this ! | |||||
[video=url] alt text [/audio] |
Watch this ! | |||||
:cry: |
![]() |
|||||
:? |
![]() |
|||||
8) |
![]() |
|||||
:evil: |
![]() |
|||||
:D |
![]() |
|||||
:) |
![]() |
|||||
:x |
![]() |
|||||
:lol: |
![]() |
|||||
:?: |
![]() |
|||||
:( |
![]() |
|||||
:O |
![]() |
|||||
:!: |
![]() |
|||||
:roll: |
![]() |
|||||
:arrow: |
![]() |
|||||
:P |
![]() |
|||||
:twisted: |
![]() |
|||||
:wink: |
![]() |
|||||
:oops: |
![]() |
|||||
8O |
![]() |
|||||
:idea: |
![]() |
Rendering control & help field