Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public interface CommandLine.ITypeConverter<K>

Converts the text of an argument to a type the build does not know.

An implementation needs a public no-argument constructor.

Methods

public abstract K convert(String value) throws ExceptionConverts value; any exception reports an invalid value.

Method details

convert

public abstract K convert(String value) throws Exception
Converts value; any exception reports an invalid value.

Throws

Exception