Package io.github.toolfactory.jvm.util
Class Classes.File.Reader
java.lang.Object
io.github.toolfactory.jvm.util.Classes.File.Reader
- Enclosing class:
Classes.File
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String[]
getInterfaceNames
(Function<Integer, Byte> byteSupplier, int header, int maxStringLength, String[] constantUtf8Values, int[] cpInfoOffsets) private static int
readUnsignedShort
(Function<Integer, Byte> byteSupplier, int offset) private static String
readUtf
(Function<Integer, Byte> byteSupplier, int constantPoolEntryIndex, char[] charBuffer, String[] constantUtf8Values, int[] cpInfoOffsets) private static String
private static String
readUTF8
(Function<Integer, Byte> byteSupplier, int offset, char[] charBuffer, String[] constantUtf8Values, int[] cpInfoOffsets) static Classes.RawInfo
retrieveInfo
(byte[] classFileBuffer) private static Classes.RawInfo
retrieveInfo
(Function<Integer, Byte> byteSupplier) static Classes.RawInfo
retrieveInfo
(ByteBuffer classFileBuffer)
-
Constructor Details
-
Reader
public Reader()
-
-
Method Details
-
retrieveInfo
-
retrieveInfo
-
retrieveInfo
-
getInterfaceNames
-
readUTF8
-
readUtf
-
readUnsignedShort
-
readUtf
-