0

它指向这条线并说预期可能是什么错误

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

即使大括号正确关闭,也显示预期的枚举接口

4

1 回答 1

0

属性查找类:

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;

    }
}

页面上下文接口:

public interface PageContext {

}
于 2013-11-09T22:58:51.220 回答