aQute.bnd.build.model.conversions.StringEntryConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bnd Show documentation
Show all versions of biz.aQute.bnd Show documentation
This command line utility is the Swiss army knife of OSGi. It provides you with a breadth of tools to understand and manage OSGi based systems. This project basically uses bndlib.
package aQute.bnd.build.model.conversions;
import java.util.Map.Entry;
public class StringEntryConverter implements Converter> {
@Override
public String convert(Entry input) throws IllegalArgumentException {
if (input == null)
return null;
return input.getKey();
}
@Override
public String error(String msg) {
return msg;
}
}