com.android.dx.cf.attrib
Class AttSourceFile
java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
com.android.dx.cf.attrib.AttSourceFile
- All Implemented Interfaces:
- Attribute
public final class AttSourceFile
- extends BaseAttribute
Attribute class for standard SourceFile attributes.
|
Method Summary |
int |
byteLength()
Get the total length of the attribute in bytes, including the
header. |
CstString |
getSourceFile()
Gets the source file name of this instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_NAME
public static final String ATTRIBUTE_NAME
non-null; attribute name for attributes of this type
- See Also:
- Constant Field Values
AttSourceFile
public AttSourceFile(CstString sourceFile)
- Constructs an instance.
- Parameters:
sourceFile - non-null; the name of the source file
byteLength
public int byteLength()
- Get the total length of the attribute in bytes, including the
header. Since the header is always six bytes, the result of
this method is always at least
6.
- Returns:
>= 6; the total length, in bytes
getSourceFile
public CstString getSourceFile()
- Gets the source file name of this instance.
- Returns:
non-null; the source file
Copyright © 2015. All rights reserved.