Package org.oorexx.language.directive

Examples of org.oorexx.language.directive.OORexxConstant


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;
   
  }
View Full Code Here

TOP

Related Classes of org.oorexx.language.directive.OORexxConstant

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.