Class SOM


  • public class SOM
    extends java.lang.Object
    Representation of a HP-UX SOM binary format
    • Field Detail

      • NL

        public static final java.lang.String NL
    • Constructor Detail

      • SOM

        protected SOM()
      • SOM

        public SOM​(java.lang.String filename)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • SOM

        public SOM​(java.lang.String filename,
                   long offset)
            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • dispose

        public void dispose()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getFileHeader

        public SOM.FileHeader getFileHeader()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getSymbols

        public SOM.Symbol[] getSymbols()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getStringTable

        public byte[] getStringTable()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isSOMHeader

        public static boolean isSOMHeader​(byte[] hints)
      • getAttributes

        public static SOM.Attribute getAttributes​(byte[] hints)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getAttributes

        public static SOM.Attribute getAttributes​(java.lang.String file)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)