Package net.sf.minuteProject.utils.format

Examples of net.sf.minuteProject.utils.format.FormatCacheEntry


  public static final String CONVERT_TO_JAVA_NAME = "CONVERT_TO_JAVA_NAME";
  public static final String CONVERT_TO_JAVA_VARIABLE_NAME = "CONVERT_TO_JAVA_VARIABLE_NAME";
  public static final String CONVERT_TO_JAVA_VARIABLE_NAME_CONVERTING_RESERVED_WORD = "CONVERT_TO_JAVA_VARIABLE_NAME_CONVERTING_RESERVED_WORD";

  public static String getJavaName(String name) {
    FormatCacheEntry fce = new FormatCacheEntry(name, CONVERT_TO_JAVA_NAME);
    String value = FormatCache.getInstance().getCacheEntry(fce);
    if (value == null) {
      value = performGetJavaName(name);
      FormatCache.getInstance().putCacheEntryValue(fce, value);
    }
View Full Code Here


    }
    return value;
  }

  public static String getJavaNameVariable(String name) {
    FormatCacheEntry fce = new FormatCacheEntry(name, CONVERT_TO_JAVA_VARIABLE_NAME);
    String value = FormatCache.getInstance().getCacheEntry(fce);
    if (value == null) {
      value = performGetJavaNameVariable(name);
      FormatCache.getInstance().putCacheEntryValue(fce, value);
    }
View Full Code Here

    }
    return value;
  }

  public static String getJavaNameVariableConvertReservedWord(String name) {
    FormatCacheEntry fce = new FormatCacheEntry(name, CONVERT_TO_JAVA_VARIABLE_NAME_CONVERTING_RESERVED_WORD);
    String value = FormatCache.getInstance().getCacheEntry(fce);
    if (value == null) {
      value = performGetJavaNameVariableConvertReservedWord(name);
      FormatCache.getInstance().putCacheEntryValue(fce, value);
    }
View Full Code Here

TOP

Related Classes of net.sf.minuteProject.utils.format.FormatCacheEntry

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.