org.tinygroup.metadata.constants
接口 ConstantProcessor

所有已知实现类:
ConstantsProcessorImpl

public interface ConstantProcessor


方法摘要
 void addConstants(Constants constants)
          添加常量
 boolean getBooleanValue(String id)
           
 byte getByteValue(String id)
           
 char getCharValue(String id)
           
 double getDoubleValue(String id)
           
 float getFloatValue(String id)
           
 int getIntValue(String id)
          返回常量值
 long getLongValue(String id)
           
 short getShortValue(String id)
           
 String getStringValue(String id)
           
 void removeConstants(Constants constants)
          移除常量
 

方法详细信息

getIntValue

int getIntValue(String id)
返回常量值

参数:
packageName -
name -
返回:

getBooleanValue

boolean getBooleanValue(String id)

getDoubleValue

double getDoubleValue(String id)

getFloatValue

float getFloatValue(String id)

getCharValue

char getCharValue(String id)

getShortValue

short getShortValue(String id)

getByteValue

byte getByteValue(String id)

getLongValue

long getLongValue(String id)

getStringValue

String getStringValue(String id)

addConstants

void addConstants(Constants constants)
添加常量

参数:
constants -

removeConstants

void removeConstants(Constants constants)
移除常量

参数:
constants -


Copyright © 2006–2016 TinyGroup. All rights reserved.