Seamless access to the Java SE API documentation
API documentation for Java SE and Hadoop
(and other frameworks) can be downloaded for offline access. But, the
Hadoop API documentation is not aware of the offline copy of Java SE
documentation.
For seamless interaction between the two API, reference to
http://java.sun.com/....../ConcurrentLinkedQueue.html
in the Hadoop API should be replaced with
file:///home/praveensripati/....../ConcurrentLinkedQueue.html
The below command will replace all such references in the API documentation (note that back slash has to be escaped)
find ./ -type f -name *.html -exec sed -i 's/http:\/\/java.sun.com\/javase\/6\/docs\//file:\/\/\/home\/praveensripati\/Documents\/Java6API\//' {} \;
This enables for seamless offline access and better productivity.
For seamless interaction between the two API, reference to
http://java.sun.com/....../ConcurrentLinkedQueue.html
in the Hadoop API should be replaced with
file:///home/praveensripati/....../ConcurrentLinkedQueue.html
The below command will replace all such references in the API documentation (note that back slash has to be escaped)
find ./ -type f -name *.html -exec sed -i 's/http:\/\/java.sun.com\/javase\/6\/docs\//file:\/\/\/home\/praveensripati\/Documents\/Java6API\//' {} \;
This enables for seamless offline access and better productivity.
Comments
Post a Comment
thank you for your feedback