Package org.eclipse.cdt.utils.som
Class SOM
- java.lang.Object
-
- org.eclipse.cdt.utils.som.SOM
-
public class SOM extends Object
Representation of a HP-UX SOM binary format
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SOM.Attribute
static class
SOM.FileHeader
SOM Header recordclass
SOM.Symbol
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
SOM.Attribute
getAttributes()
static SOM.Attribute
getAttributes(byte[] hints)
static SOM.Attribute
getAttributes(String file)
SOM.FileHeader
getFileHeader()
byte[]
getStringTable()
SOM.Symbol[]
getSymbols()
static boolean
isSOMHeader(byte[] hints)
static void
main(String[] args)
String
toString()
-
-
-
Field Detail
-
NL
public static final String NL
-
-
Constructor Detail
-
SOM
protected SOM()
-
SOM
public SOM(String filename) throws IOException
- Throws:
IOException
-
SOM
public SOM(String filename, long offset) throws IOException
- Throws:
IOException
-
-
Method Detail
-
dispose
public void dispose() throws IOException
- Throws:
IOException
-
getFileHeader
public SOM.FileHeader getFileHeader() throws IOException
- Throws:
IOException
-
getAttributes
public SOM.Attribute getAttributes()
-
getSymbols
public SOM.Symbol[] getSymbols() throws IOException
- Throws:
IOException
-
getStringTable
public byte[] getStringTable() throws IOException
- Throws:
IOException
-
isSOMHeader
public static boolean isSOMHeader(byte[] hints)
-
getAttributes
public static SOM.Attribute getAttributes(byte[] hints) throws IOException
- Throws:
IOException
-
getAttributes
public static SOM.Attribute getAttributes(String file) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args)
-
-