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 Java docs of the API that you are using?
I agree. Here's the link:
subject: passing image file as string
what is the difference between String and other reference types?
how to sovle these two errors~~~help~~~
How String Can Be A Reference Variable...
blackberry pearl 8100
retreiving the session attribute value from anoher Action class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014