|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.classfile.ClassAttribute
org.apache.jdo.impl.enhancer.classfile.SourceFileAttribute
Represents the source file attribute in a class file
Field Summary | |
static java.lang.String |
expectedAttrName
|
private ConstUtf8 |
sourceFileName
|
Fields inherited from class org.apache.jdo.impl.enhancer.classfile.ClassAttribute |
|
Constructor Summary | |
SourceFileAttribute(ConstUtf8 attrName,
ConstUtf8 sourceName)
Constructor for a source file attribute |
Method Summary | |
ConstUtf8 |
fileName()
Returns the source file name The file name should not include directories |
(package private) void |
print(java.io.PrintStream out,
int indent)
Print a description of the attribute to the print stream |
(package private) static SourceFileAttribute |
read(ConstUtf8 attrName,
java.io.DataInputStream data,
ConstantPool pool)
|
void |
setFileName(ConstUtf8 name)
Sets the source file name |
(package private) void |
write(java.io.DataOutputStream out)
Write the attribute to the output stream |
Methods inherited from class org.apache.jdo.impl.enhancer.classfile.ClassAttribute |
attrName, isEqual, read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String expectedAttrName
private ConstUtf8 sourceFileName
Constructor Detail |
public SourceFileAttribute(ConstUtf8 attrName, ConstUtf8 sourceName)
Method Detail |
public ConstUtf8 fileName()
public void setFileName(ConstUtf8 name)
static SourceFileAttribute read(ConstUtf8 attrName, java.io.DataInputStream data, ConstantPool pool) throws java.io.IOException
java.io.IOException
void write(java.io.DataOutputStream out) throws java.io.IOException
ClassAttribute
write
in class ClassAttribute
java.io.IOException
void print(java.io.PrintStream out, int indent)
ClassAttribute
print
in class ClassAttribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |