public class SDEInstaller
extends java.lang.Object
Constructor and Description |
---|
SDEInstaller(byte[] original,
byte[] sdeAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSDE() |
protected void |
copy(int count) |
protected boolean |
copyAttrs(int attrCount) |
protected int |
copyConstantPool(int constantPoolCount) |
protected void |
copyMembers() |
byte[] |
getUpdatedByteCode() |
protected void |
randomAccessWriteU2(int pos,
int val) |
protected byte[] |
readBytes(int count) |
protected int |
readU1() |
protected int |
readU2() |
protected int |
readU4() |
protected void |
writeAttrForSDE(int index) |
protected void |
writeBytes(byte[] bytes) |
protected void |
writeU1(int val) |
protected void |
writeU2(int val) |
protected void |
writeU4(int val) |
protected void |
writeUtf8ForSDE() |
public SDEInstaller(byte[] original, byte[] sdeAttr) throws java.io.IOException
java.io.IOException
public byte[] getUpdatedByteCode()
protected void addSDE() throws java.io.UnsupportedEncodingException, java.io.IOException
java.io.UnsupportedEncodingException
java.io.IOException
protected void copyMembers()
protected boolean copyAttrs(int attrCount)
protected void writeAttrForSDE(int index)
protected void randomAccessWriteU2(int pos, int val)
protected int readU1()
protected int readU2()
protected int readU4()
protected void writeU1(int val)
protected void writeU2(int val)
protected void writeU4(int val)
protected void copy(int count)
protected byte[] readBytes(int count)
protected void writeBytes(byte[] bytes)
protected int copyConstantPool(int constantPoolCount) throws java.io.UnsupportedEncodingException, java.io.IOException
java.io.UnsupportedEncodingException
java.io.IOException
protected void writeUtf8ForSDE()