public class SDEInstaller extends 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 IOException
IOExceptionpublic byte[] getUpdatedByteCode()
protected void addSDE()
throws UnsupportedEncodingException,
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 UnsupportedEncodingException,
IOException
protected void writeUtf8ForSDE()
Copyright © 2015. All Rights Reserved.