A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
passing image file as string
Joined: Nov 13, 2010
Jan 07, 2013 07:53:07
i tried this
String encoded = Base64.encodeFromFile("data/inputImage.png");
but it returns error method encodeFromFile not found
Jayesh A Lalwani
Joined: Jan 17, 2008
Jan 07, 2013 08:20:32
Maybe because the method doesn't exist? Have you looked at the
docs of the API that you are using?
It is sorta covered in the
JavaRanch Style Guide
subject: passing image file as string
how to sovle these two errors~~~help~~~
retreiving the session attribute value from anoher Action class
what is the difference between String and other reference types?
How String Can Be A Reference Variable...
blackberry pearl 8100
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015