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

📄 valueformat.java

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

import java.util.Locale;

public interface ValueFormat {

    /**
     * Return whether this formatter can format the specified value. The 
     * {@link FormatKit} will format a given value using the first formatter 
     * that can format the value. 
     * 
     * @param type the type to be formatted
     * @return true if this formatter knows how to format the specified value.
     */
    @SuppressWarnings("unchecked")
	public boolean canFormat(Class type);
        
    /**
     * 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
     * 
     * @throws ClassCastException
     */
    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
     * 
     * @throws ClassCastException
     */
    public String format(Object value);
}

⌨️ 快捷键说明

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