| |

VerySource

 Forgot password?
 Register
Search
View: 534|Reply: 1

Who used commons-codec?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-25 21:00:01
| Show all posts |Read mode
Dear heroes, have you used this open source tool from Apache, how to use it, can you give me a simple code, helloworld will do, thank you!
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-12 12:15:01
| Show all posts
import org.apache.commons.codec.net.BCodec;
import org.apache.commons.codec.net.URLCodec;


String txt =
          "SessionID = Fmzng2zjg7! -1394951627&SPID = 830502&ServiceID = 1XBZ040008";
      BCodec bc = new BCodec ();
      URLCodec uc = new URLCodec ();
      String ntxt = bc.encode (txt);
// Code snippet This package is transcoded and implements many transcoding specifications
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list