All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aQute.bnd.build.model.conversions.StringEntryConverter Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package aQute.bnd.build.model.conversions;

import java.util.Map.Entry;

public class StringEntryConverter implements Converter> {

	public String convert(Entry input) throws IllegalArgumentException {
		if (input == null)
			return null;
		return input.getKey();
	}

	@Override
	public String error(String msg) {
		return msg;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy