org.hibernate.bytecode.util
Class ByteCodeHelper
java.lang.Object
org.hibernate.bytecode.util.ByteCodeHelper
public class ByteCodeHelper
extends java.lang.Object
A helper for reading byte code from various input sources.
static byte[] | readByteCode(File file)
|
static byte[] | readByteCode(InputStream inputStream) - Reads class byte array info from the given input stream.
|
static byte[] | readByteCode(ZipInputStream zip)
|
readByteCode
public static byte[] readByteCode(File file)
throws IOException
readByteCode
public static byte[] readByteCode(InputStream inputStream)
throws IOException
Reads class byte array info from the given input stream.
The stream is closed within this method!
readByteCode
public static byte[] readByteCode(ZipInputStream zip)
throws IOException