Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

UrlEncoder  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the java.net package there are two classes...
URLEncoder and URLDecoder
They can be used to encode and decode url's respectively
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to write my own URLEncoder, and halfway into writing it, I remembered the Java creed, "Someone else has probably already written it..." I looked on the Sun specs page for 2 minutes and found it. Saved me quite a bit of time.
Micah
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!