at.dms.classfile
Class SourceFileAttribute
java.lang.Object
at.dms.classfile.Attribute
at.dms.classfile.SourceFileAttribute
public class SourceFileAttribute
- extends Attribute
VMS 4.7.7 : Source File Attribute.
This attribute represents the name of the source file from which
this class file was compiled.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceFileAttribute
public SourceFileAttribute(String name)
- Create a source file attribute.
- Parameters:
name - the name of the source file
SourceFileAttribute
public SourceFileAttribute(DataInput in,
ConstantPool cp)
throws IOException,
ClassFileFormatException
- Constructs a source file attribute from a class file stream.
- Parameters:
in - the stream to read fromcp - the constant pool
- Throws:
IOException - an io problem has occured
ClassFileFormatException - attempt to
write a bad classfile info