1 18 package org.apache.tools.ant.taskdefs.optional.depend.constantpool; 19 20 import java.io.DataInputStream ; 21 import java.io.IOException ; 22 23 27 public class LongCPInfo extends ConstantCPInfo { 28 29 30 public LongCPInfo() { 31 super(CONSTANT_LONG, 2); 32 } 33 34 42 public void read(DataInputStream cpStream) throws IOException { 43 setValue(new Long (cpStream.readLong())); 44 } 45 46 51 public String toString() { 52 return "Long Constant Pool Entry: " + getValue(); 53 } 54 55 } 56 57 | Popular Tags |