File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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?
Don't get me started about those stupid
subject: passing image file as string
retreiving the session attribute value from anoher Action class
blackberry pearl 8100
what is the difference between String and other reference types?
how to sovle these two errors~~~help~~~
How String Can Be A Reference Variable...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014