Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net.url

 
Paul Wetzel
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does anyone know what the difference is between URL getExternalForm() and toString() methods of a URL object.
thanks in advnace
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

hmmmm....
I couldn't make out any difference in the method behavoir or
return value from the URL API Spec..
I am trying out an example and will update if there is a difference. The only difference which the API mentions is that the toString method overrides the toString of the Object class.

Regds.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic