> Hi,
>
[quoted text clipped - 3 lines]
>
> thanks in advance
For Binary Encoded Text you might want to check out java.lang.String.
This clever little class provides a means to store textual content with
variable encoding into an array of bytes, and further to perform
conversions, concatenations, and so on.
If you're talking about encoding binary data as Text, you should lookup
Mime - a quick google search yields a few useful links.

Signature
[Ross A. Bamford] [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain