https://github.com/fracpete/java-class-version
Library for listing version of Java class files.
https://github.com/fracpete/java-class-version
classfile java
Last synced: 2 months ago
JSON representation
Library for listing version of Java class files.
- Host: GitHub
- URL: https://github.com/fracpete/java-class-version
- Owner: fracpete
- License: mit
- Created: 2019-12-15T07:01:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-15T09:26:47.000Z (over 5 years ago)
- Last Synced: 2024-10-19T12:16:02.898Z (8 months ago)
- Topics: classfile, java
- Language: Java
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-class-version
Library for listing version of Java class files.Collects the [Java versions](https://en.wikipedia.org/wiki/Java_class_file#General_layout)
stored in class files and outputs it in various formats: text, CSV or summary (counts per version).## Command-line
```
usage: com.github.fracpete.javaclassversion.ListClasses
[-h] --input INPUT [--format {text,csv,summary}]
[--output OUTPUT] [--verbose]Listing Java class file versions.
named arguments:
-h, --help show this help message and exit
--input INPUT The files or directories to inspect
--format {text,csv,summary}
The output format to use
--output OUTPUT The file to write the generated output to
--verbose Whether to be verbose during generation
```## Maven
Add the following dependency to your `pom.xml`:
```xml
com.github.fracpete
java-class-version
0.0.1
```