An open API service indexing awesome lists of open source software.

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.

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

```