fitnesse.slim.Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.slim;
/**
* Slim is all strings at the interface. So we need converters that will map strings to types and types back to
* strings. Each derivative of this interface corresponds to a particular type.
*/
public interface Converter {
final String NULL_VALUE = null;
String toString(T o);
T fromString(String arg);
}