Class Overview
A helper for reading byte code from various input sources.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
static
byte[]
readByteCode
(ZipInputStream zip)
Read class definition a zip (jar) file entry.
Parameters
zip
| The zip entry stream. |
Throws
IOException
| Indicates a problem accessing the given stream.
|
public
static
byte[]
readByteCode
(File file)
Read class definition from a file.
Throws
IOException
| Indicates a problem accessing the given stream.
|
public
static
byte[]
readByteCode
(InputStream inputStream)
Reads class byte array info from the given input stream.
The stream is closed within this method!
Parameters
inputStream
| The stream containing the class binary; null will lead to an IOException |
Throws
IOException
| Indicates a problem accessing the given stream.
|