init of deob

This commit is contained in:
Adam
2014-11-30 20:35:37 -05:00
commit 41681f94a5
30 changed files with 933 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
package info.sigterm.deob.attributes;
import info.sigterm.deob.Attributes;
import java.io.DataInputStream;
import java.io.IOException;
public class Attribute
{
private Attributes attributes;
private AttributeType type;
private int length;
Attribute(Attributes attr, AttributeType type) throws IOException
{
this.attributes = attr;
this.type = type;
DataInputStream is = attr.getStream();
this.length = is.readInt();
}
public Attributes getAttributes()
{
return attributes;
}
public int getLength()
{
return length;
}
}