• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to get rid of java.lang.String refs in JavaDoc

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

I am running javadoc and trying to make it look a little closer to the Sun APIs where methods that return java.lang.String to not appear as "java.lang.String", but as "String". I am pretty sure this is a classpath issue, but I just can't seem to figure out how to do it.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The javadoc tool will give full classnames for all classes that it can't link to. So, if you can tell javadoc where the javadocs are for java.lang.String, it will create an actual link to it and just display it as "String". I couldn't tell you how to do this though, as I usually do javadocs with Ant. Sorry. But read the javadoc documentation and you're good to go.
    Bookmark Topic Watch Topic
  • New Topic