velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Repetenko <...@mtu.ru>
Subject An extention of ResourceLoader
Date Mon, 12 Nov 2001 11:08:09 GMT
Good day!

I have a problem with developing an extention of ResourceLoader. I use
CLOB to store templates in the db.
Clob class has a method getAsciiStream which returns InputStream, but
this method does not work with Russian charset.
I can not use method getCharacterStream because it returns a Reader
stream and ResourceLoader does not work with Reader. I was trying to use
a temporary variable (String) and class StringBufferInputStream but this
class does not properly convert characters into bytes.
Any idea?

Thanks in advance,
Vitaly


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message