protected String _write_feature(FeatureInterface<AbstractSequence<C>, C> feature, int record_length) {
		String location = _insdc_feature_location_string(feature, record_length);
		String f_type = feature.getType().replace(" ", "_");
		StringBuilder sb = new StringBuilder();
		Formatter formatter = new Formatter(sb,Locale.US);
		formatter.format(QUALIFIER_INDENT_TMP, f_type);
		String line = formatter.toString().substring(0, QUALIFIER_INDENT) + _wrap_location(location) + lineSep;
		formatter.close();

		//Now the qualifiers...
		for(List<Qualifier>  qualifiers : feature.getQualifiers().values()) {
			for(Qualifier q : qualifiers){
				line += _write_feature_qualifier(q.getName(), q.getValue(), q.needsQuotes());
			}
		}
		return line;
		/*
		self.handle.write(line)
		#Now the qualifiers...
		for key, values in feature.qualifiers.items():
			if isinstance(values, list) or isinstance(values, tuple):
				for value in values:
					self._write_feature_qualifier(key, value)
			elif values:
				#String, int, etc
				self._write_feature_qualifier(key, values)
			else:
				#e.g. a /psuedo entry
				self._write_feature_qualifier(key)
		 */
	}
protected String _write_feature ( FeatureInterface < AbstractSequence < C > , C > feature , int record_length ) { String location = _insdc_feature_location_string ( feature , record_length ) ; String f_type = feature . getType ( ) . replace ( " " , "_" ) ; StringBuilder sb = new StringBuilder ( ) ; Formatter formatter = new Formatter ( sb , Locale . US ) ; formatter . format ( QUALIFIER_INDENT_TMP , f_type ) ; String line = formatter . toString ( ) . substring ( 0 , QUALIFIER_INDENT ) + _wrap_location ( location ) + lineSep ; formatter . close ( ) ; for ( List < Qualifier > qualifiers : feature . getQualifiers ( ) . values ( ) ) { for ( Qualifier q : qualifiers ) { line += _write_feature_qualifier ( q . getName ( ) , q . getValue ( ) , q . needsQuotes ( ) ) ; } } return line ; }
Write a single SeqFeature object to features table.
@param feature
@param record_length