public void printHtmlTechInfo ( PrintWriter out , String strTag , String strParams , String strData ) { FieldData fieldInfo = new FieldData ( this . findRecordOwner ( ) ) ; String strClass = this . getClassName ( ) ; fieldInfo . setKeyArea ( FieldData . FIELD_FILE_NAME_KEY ) ; fieldInfo . addListener ( new StringSubFileFilter ( strClass , fieldInfo . getField ( FieldData . FIELD_FILE_NAME ) , null , null , null , null ) ) ; try { out . println ( "<table border=1>" ) ; out . println ( "<tr>" ) ; out . println ( "<th>" + fieldInfo . getField ( FieldData . FIELD_NAME ) . getFieldDesc ( ) + "</th>" ) ; out . println ( "<th>" + fieldInfo . getField ( FieldData . FIELD_CLASS ) . getFieldDesc ( ) + "</th>" ) ; out . println ( "<th>" + fieldInfo . getField ( FieldData . BASE_FIELD_NAME ) . getFieldDesc ( ) + "</th>" ) ; out . println ( "<th>" + fieldInfo . getField ( FieldData . MAXIMUM_LENGTH ) . getFieldDesc ( ) + "</th>" ) ; out . println ( "<th>" + fieldInfo . getField ( FieldData . FIELD_DESCRIPTION ) . getFieldDesc ( ) + "</th>" ) ; out . println ( "</tr>" ) ; while ( fieldInfo . hasNext ( ) ) { fieldInfo . next ( ) ; out . println ( "<tr>" ) ; out . println ( "<td>&#160;" + fieldInfo . getField ( FieldData . FIELD_NAME ) . toString ( ) + "</td>" ) ; out . println ( "<td>&#160;" + fieldInfo . getField ( FieldData . FIELD_CLASS ) . toString ( ) + "</td>" ) ; out . println ( "<td>&#160;" + fieldInfo . getField ( FieldData . BASE_FIELD_NAME ) . toString ( ) + "</td>" ) ; out . println ( "<td>&#160;" + fieldInfo . getField ( FieldData . MAXIMUM_LENGTH ) . toString ( ) + "</td>" ) ; out . println ( "<td>&#160;" + fieldInfo . getField ( FieldData . FIELD_DESCRIPTION ) . toString ( ) + "</td>" ) ; out . println ( "</tr>" ) ; } out . println ( "</table>" ) ; } catch ( DBException ex ) { ex . printStackTrace ( ) ; } fieldInfo . free ( ) ; fieldInfo = null ; }
PrintHtmlTechInfo Method .