⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formatkit.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.web.data.results;

import java.util.Locale;

public interface FormatKit {
    
    /**
     * Return the formatted text representation of the specified object.
     * 
     * @param value the unformatted object
     * @param locale the locale that determines the formatting
     * 
     * @return the formatted string representation or value.toString() if 
     * no formatter was found that can handle the specified value
     */
    public String format(Object value, Locale locale);
    
    /**
     * Return the formatted text representation of the specified object
     * using the default locale.
     * 
     * @param value the unformatted object
     * 
     * @return the formatted string representation or value.toString() if 
     * no formatter was found that can handle the specified value
     */
    public String format(Object value);
    
    /**
     * Return an array of formats that can be used to format objects that
     * are instances of the specified types.
     * 
     * @param types array of {@link Class} to be formatted
     * 
     * @return an array of formats appropriate for the specified types
     */
    @SuppressWarnings("unchecked")
	public ValueFormat[] getFormats(Class[] types);
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -