KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > alt > jiapi > file > DeprecatedAttribute


1 package alt.jiapi.file;
2
3 import java.io.ByteArrayOutputStream JavaDoc;
4 import java.io.DataInputStream JavaDoc;
5 import java.io.DataOutputStream JavaDoc;
6 import java.io.IOException JavaDoc;
7 import java.util.List JavaDoc;
8 import java.util.LinkedList JavaDoc;
9 import java.util.Iterator JavaDoc;
10
11 /**
12  * Class CodeAttribute.
13  *
14  * @author Mika Riekkinen
15  * @see Java Virtual Machine Specification 2nd edition, ch. 4.7.6
16  */

17 public class DeprecatedAttribute extends Attribute {
18     private byte[] bytes = new byte[0];
19     DeprecatedAttribute(short nameIndex, DataInputStream JavaDoc dis) throws IOException JavaDoc {
20         super(nameIndex);
21     }
22     
23     public byte[] getBytes() {
24         return bytes;
25     }
26 }
27
28
Popular Tags