public OPTRecord getOPT ( ) { Record [ ] additional = getSectionArray ( Section . ADDITIONAL ) ; for ( int i = 0 ; i < additional . length ; i ++ ) if ( additional [ i ] instanceof OPTRecord ) return ( OPTRecord ) additional [ i ] ; return null ; }
Returns the OPT record from the ADDITIONAL section if one is present .