|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.elf.StringTable
public class StringTable
This describes an ELF String table section.
Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
byte[] |
data
The string table data |
| Constructor Summary | |
|---|---|
StringTable(byte[] data)
This constructor takes in a byte array containing ASCII zero-terminated strings and makes them accessible by an index as required by the ELF specification. |
|
| Method Summary | |
|---|---|
java.lang.String |
get(int index)
This method returns the zero-terminated string starting at an index in the string table byte array. |
| 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 copyright
public byte[] data
| Constructor Detail |
|---|
public StringTable(byte[] data)
data - The byte array containg the
zero-terminated strings.| Method Detail |
|---|
public java.lang.String get(int index)
index - The start index of the string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||