fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/file/FixedLengthFileRecordFixture.java
public final int[] extractWidth(FitRow row) {
		int[] width = new int[row.size()];

        int i = 0;
        for (FitCell cell : row.cells()) {
			try {
                String value = validator.preProcess(cell.getFitValue());
                TypeHandler handler = typeHandlerFactory.getHandler(Integer.class, null);
                width[i++] = (Integer) handler.parse(value);
			} catch (Exception e) {
				cell.exception(e);
				return null;
			}
		}
		return width;
	}
public final int[] extractWidth(FitRow row) {
		int[] width = new int[row.size()];

        int i = 0;
        for (FitCell cell : row.cells()) {
			try {
                String value = validator.preProcess(cell.getFitValue());
                TypeHandler handler = typeHandlerFactory.getHandler(Integer.class, null);
                width[i++] = (Integer) handler.parse(value);
			} catch (Exception e) {
				cell.exception(e);
				return null;
			}
		}
		return width;
	}
public final int [ ] extractWidth ( FitRow row ) { int [ ] width = new int [ row . size ( ) ] ; int i = 0 ; for ( FitCell cell : row . cells ( ) ) { try { String value = validator . preProcess ( cell . getFitValue ( ) ) ; TypeHandler handler = typeHandlerFactory . getHandler ( Integer . class , null ) ; width [ i ++ ] = ( Integer ) handler . parse ( value ) ; } catch ( Exception e ) { cell . exception ( e ) ; return null ; } } return width ; }
Parses the first table row and generates an {@code int} array
which contains the length of each record field.

@param row row to process
@return length of each field
Parses the first table row and generates an { @code int } array which contains the length of each record field .