aspose file tools
The moose likes Java in General and the fly likes sun.misc.BASE64Decoder equivalent Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "sun.misc.BASE64Decoder equivalent" Watch "sun.misc.BASE64Decoder equivalent" New topic
Author

sun.misc.BASE64Decoder equivalent

Mani Natrajan
Greenhorn

Joined: Oct 12, 2009
Posts: 12
I have old code which uses sun.misc.BASE64Encoder to encode and BASE64Decoder to decode. I know that this code should not be used as it is in sun.* package.
I need to do the same logic in a different place which carries the same logic / algorithm( for encoding and decoding).
Can anyone suggest me an equivalent of this?

Thanks , Mani Natarajan


SCJP
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You could use the apache Base64.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35222
    
    7
... which is part of the Apache Commons Codec library.


Android appsImageJ pluginsJava web charts
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12907
    
    3

... which you can find here - and welcome to JavaRanch!


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32599
    
    4
Too difficult a question for "beginning". Moving thread.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: sun.misc.BASE64Decoder equivalent
 
Similar Threads
Remote File Operations
shift operator on negative number
Is this RMI Interface correct?
how the assignment happened
Equivalent of logic iterate in Struts 2