public String parse(String info){
  if (info == null || info.length() == 0)   return "";
  if (info.startsWith("[") && info.endsWith("]"))   return "";
  String retValue=null;
  if (isNumber())   retValue=parseNumber(info);
 else   if (isDate())   retValue=parseDate(info);
 else   if (isConstant())   retValue=m_constantIsString ? parseString(m_constantValue) : m_constantValue;
 else   retValue=parseString(info);
  if (m_callout != null) {
    try {
      retValue=m_callout.convert(m_method,retValue);
    }
 catch (    Exception e) {
      log.log(Level.SEVERE,"ImpFormatRow.parse - " + info + " ("+ retValue+ ")",e);
    }
  }
  if (retValue == null)   retValue="";
  return retValue.trim();
}

public String parse ( String info ) { if ( info == null || info . length ( ) == 0 ) return "" ; if ( info . startsWith ( "[" ) && info . endsWith ( "]" ) ) return "" ; String retValue = null ; if ( isNumber ( ) ) retValue = parseNumber ( info ) ; else if ( isDate ( ) ) retValue = parseDate ( info ) ; else if ( isConstant ( ) ) retValue = m_constantIsString ? parseString ( m_constantValue ) : m_constantValue ; else retValue = parseString ( info ) ; if ( m_callout != null ) { try { retValue = m_callout . convert ( m_method , retValue ) ; } catch ( Exception e ) { log . log ( Level . SEVERE , "ImpFormatRow.parse - " + info + " (" + retValue + ")" , e ) ; } } if ( retValue == null ) retValue = "" ; return retValue . trim ( ) ; }
parse value . field content in [ ] are treated as comments
