classfile
Class classAttrSec

java.lang.Object
  |
  +--util.dataRead
        |
        +--classfile.classAttrSec

class classAttrSec
extends dataRead

The classAttrSec object contains the attribute table that ends the class file. The only attributes that appear in this section are the SourceFile attribute (srcFileAttr object), the InnerClasses attribute or the Depreciated attribute.


Field Summary
(package private)  attrInfo[] classAttrTab
           
 
Fields inherited from class util.dataRead
bytesRead
 
Constructor Summary
(package private) classAttrSec(java.io.DataInputStream dStream, constPool constPoolSec)
           
 
Method Summary
(package private)  java.lang.String getSrcFileName()
          Return the name of the source file that generated the class file.
 
Methods inherited from class util.dataRead
getBytesRead, readU1, readU2, readU4
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

classAttrTab

attrInfo[] classAttrTab
Constructor Detail

classAttrSec

classAttrSec(java.io.DataInputStream dStream,
             constPool constPoolSec)
Method Detail

getSrcFileName

java.lang.String getSrcFileName()
Return the name of the source file that generated the class file. There should only be one source file in the ClassFile attribute table.
Returns:
a String for the source file name.