You're viewing version 1.2.0 of add-remote-javadoc. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

add-remote-javadoc

clojure.java.javadoc

  • (add-remote-javadoc package-prefix url)
Adds to the list of remote Javadoc URLs. package-prefix is the
beginning of the package name that has docs at this URL.

1 Example top

  • user=> (use 'clojure.java.javadoc)
    	nil
    
    user=> (add-remote-javadoc "org.apache.commons.csv." "http://commons.apache.org/proper/commons-csv/apidocs/index.html")
    	{"java." "http://java.sun.com/javase/6/docs/api/", "javax." "http://java.sun.com/javase/6/docs/api/", "org.apache.commons.codec." "http://commons.apache.org/codec/api-release/", "org.apache.commons.csv." "http://commons.apache.org/proper/commons-csv/apidocs/index.html", "org.apache.commons.io." "http://commons.apache.org/io/api-release/", "org.apache.commons.lang." "http://commons.apache.org/lang/api-release/", "org.ietf.jgss." "http://java.sun.com/javase/6/docs/api/", "org.omg." "http://java.sun.com/javase/6/docs/api/", "org.w3c.dom." "http://java.sun.com/javase/6/docs/api/", "org.xml.sax." "http://java.sun.com/javase/6/docs/api/"}
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/java/javadoc.clj:44 top

(defn add-remote-javadoc
  "Adds to the list of remote Javadoc URLs.  package-prefix is the
  beginning of the package name that has docs at this URL."
  {:added "1.2"}
  [package-prefix url]
  (dosync (commute *remote-javadocs* assoc package-prefix url)))
Vars in clojure.java.javadoc/add-remote-javadoc: *remote-javadocs* add-remote-javadoc assoc commute defn dosync
Used in 0 other vars

Comments top

No comments for add-remote-javadoc. Log in to add a comment.