public class LineToOORexxConstant {
public static OORexxConstant convert(String line){
line = line.trim();
OORexxConstant constant = new OORexxConstant();
String[] words = line.split(" +");
constant.setName(words[1]);
constant.setValue(line.substring("::constant".length(), line.length()).replace(constant.getName(), "").trim());
return constant;
}