Class JavaClassfileVersionParser
- java.lang.Object
-
- org.codehaus.plexus.languages.java.version.JavaClassfileVersionParser
-
final class JavaClassfileVersionParser extends java.lang.ObjectThis class is intented to be package-private and consumed byJavaClassfileVersion.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateJavaClassfileVersionParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaClassfileVersionof(byte[] bytes)Reads the bytecode of a Java class file and returns theJavaClassfileVersion.
-
-
-
Method Detail
-
of
public static JavaClassfileVersion of(byte[] bytes)
Reads the bytecode of a Java class file and returns theJavaClassfileVersion.- Parameters:
in-byte[]of the Java class file- Returns:
- the
JavaClassfileVersionof the input stream
-
-