jodd-core/src/main/java/jodd/io/upload/FileUploadHeader.java
private String getDataFieldValue(final String dataHeader, final String fieldName) {
		String value = null;
		String token = String.valueOf((new StringBuffer(String.valueOf(fieldName))).append('=').append('"'));
		int pos = dataHeader.indexOf(token);
		if (pos > 0) {
			int start = pos + token.length();
			int end = dataHeader.indexOf('"', start);
			if ((start > 0) && (end > 0)) {
				value = dataHeader.substring(start, end);
			}
		}
		return value;
	}
private String getDataFieldValue(final String dataHeader, final String fieldName) {
		String value = null;
		String token = String.valueOf((new StringBuffer(String.valueOf(fieldName))).append('=').append('"'));
		int pos = dataHeader.indexOf(token);
		if (pos > 0) {
			int start = pos + token.length();
			int end = dataHeader.indexOf('"', start);
			if ((start > 0) && (end > 0)) {
				value = dataHeader.substring(start, end);
			}
		}
		return value;
	}
private String getDataFieldValue ( final String dataHeader , final String fieldName ) { String value = null ; String token = String . valueOf ( ( new StringBuffer ( String . valueOf ( fieldName ) ) ) . append ( ' ' ) . append ( ' ' ) ) ; int pos = dataHeader . indexOf ( token ) ; if ( pos > 0 ) { int start = pos + token . length ( ) ; int end = dataHeader . indexOf ( ' ' , start ) ; if ( ( start > 0 ) && ( end > 0 ) ) { value = dataHeader . substring ( start , end ) ; } } return value ; }
Gets value of data field or <code>null</code> if field not found.
Gets value of data field or <code > null< / code > if field not found .