org.hibernate.bytecode.util
Class ByteCodeHelper
java.lang.Object
org.hibernate.bytecode.util.ByteCodeHelper
public class ByteCodeHelper
- extends Object
A helper for reading byte code from various input sources.
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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!
- Parameters:
inputStream
-
- Returns:
-
- Throws:
IOException
readByteCode
public static byte[] readByteCode(File file)
throws IOException
- Throws:
IOException
readByteCode
public static byte[] readByteCode(ZipInputStream zip)
throws IOException
- Throws:
IOException
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved