公共类最终财产查询

时间:2013-09-09 22:29:45

标签: java identifier

它指向这一行并说预期可能是错误

public class final PropertyLookup {
  public static String getProperty(PageContext pageContext, String propertyFile, String key,
                                     String locale) {  
  private static Properties getProperties(String propertiesFileName,String locale) { 
}

并且即使正确关闭大括号也会显示预期的枚举界面

1 个答案:

答案 0 :(得分:0)

PropertyLookup类:

import java.util.Properties;

//public class final PropertyLookup
public final class PropertyLookup {
    public static String getProperty(PageContext pageContext,
            String propertyFile, String key, String locale) {
        // TODO
        return locale;

    }

    private static Properties getProperties(String propertiesFileName,
            String locale) {
        // TODO
        return null;

    }
}

PageContext界面:

public interface PageContext {

}