jas
Class GenericAttr

java.lang.Object
  extended by jas.GenericAttr

public class GenericAttr
extends Object


Constructor Summary
GenericAttr(CP name, byte[] data)
          Make up a new attribute
GenericAttr(String name, byte[] data)
          Make up a new attribute
GenericAttr(String name, String file)
          Make up a new attribute
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

GenericAttr

public GenericAttr(String name,
                   byte[] data)
Make up a new attribute

Parameters:
data - stream of bytes to be placed with the attribute
See Also:
ClassEnv.addGenericAttr(jas.GenericAttr), CodeAttr.addGenericAttr(jas.GenericAttr)

GenericAttr

public GenericAttr(CP name,
                   byte[] data)
Make up a new attribute

Parameters:
name - CP to be defined as the name of the attribute
data - stream of bytes to be placed with the attribute
See Also:
ClassEnv.addGenericAttr(jas.GenericAttr), CodeAttr.addGenericAttr(jas.GenericAttr)

GenericAttr

public GenericAttr(String name,
                   String file)
            throws IOException,
                   jasError
Make up a new attribute

Parameters:
name - Name to be associated with the attribute
file - name of file with attribute contens
Throws:
IOException
jasError


Copyright © 2006 Jonathan Meyer, USA All rights reserved.