https://github.com/johnnyjayjay/javadox
A small and lightweight HTML Javadoc parser
https://github.com/johnnyjayjay/javadox
Last synced: 9 months ago
JSON representation
A small and lightweight HTML Javadoc parser
- Host: GitHub
- URL: https://github.com/johnnyjayjay/javadox
- Owner: JohnnyJayJay
- License: other
- Created: 2020-03-31T15:19:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T12:20:38.000Z (over 5 years ago)
- Last Synced: 2025-02-09T23:27:33.222Z (11 months ago)
- Language: Kotlin
- Size: 82 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Javadox
A small Kotlin library to parse HTML javadocs.
```kotlin
val allClassesUrl = "https://docs.oracle.com/javase/10/docs/api/allclasses-noframe.html"
val parser = JavadocParser()
val javadocs = Javadocs(allClasses = allClassesUrl, parser = parser) {
Jsoup.connect(it).userAgent("Mozilla").get()
}
val javadoc: DocumentedType = javadocs.find(`package` = "java.util", type = "List")
```
Still testing and under construction.
Setup:
```
git clone https://github.com/johnnyjayjay/javadox.git
cd javadox
gradlew clean publishToMavenLocal
```