A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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?
retreiving the session attribute value from anoher Action class
blackberry pearl 8100
How String Can Be A Reference Variable...
how to sovle these two errors~~~help~~~
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014