本文整理了Java中de.tsl2.nano.core.util.Util.asString()
方法的一些代码示例,展示了Util.asString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.asString()
方法的具体详情如下:
包路径:de.tsl2.nano.core.util.Util
类名称:Util
方法名:asString
暂无
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.repeatable
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return Util.asString(item) + ": " + Util.asString(old) + " --> " + Util.asString(neW);
}
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.cursus
public String getObjectid() {
return Util.asString(objectid);
}
public void setObjectid(String objectid) {
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor
/**
* implements the interface method {@link #getValue(Object)} by {@link IValueExpression} and delegates directly to
* {@link #from(String)} using object instance {@link #toString()} as value. thrown.
*/
@Override
public TYPE getValue(Object instance) {
return from(Util.asString(instance));
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.cursus
public String getNext() {
return Util.asString(getNew());
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.cursus
public String getPrevious() {
return Util.asString(getOld());
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor
@Override
public Collection<TYPE> matchingObjects(Object prefix) {
String input = Util.asString(prefix).trim();
TYPE exampleBean = createExampleBean(input, true);
Collection<TYPE> values =
BeanContainer.instance().getBeansByExample(exampleBean, true, 0,
ENV.get("websocket.intputassist.maxitemcount", 20));
return values;
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.terminal
argList.add(Util.asString(a));
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor
Map<String, Object> valueMap = BeanUtil.toValueMap(fromValue, false, false, true, attributes);
if (valueMap.size() == 0) {
return "?" + Util.asString(fromValue) + "?";
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor
/**
* getAttachmentFilename
*
* @param instance
* @param attribute
* @param name
* @return
*/
public static String getFilename(Object instance, String attribute, String name) {
return ENV.getTempPath()
+ FileUtil.getValidFileName(BeanValue.getBeanValue(instance, attribute).getValueId() + "."
+ Util.asString(name));
}
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor
.asString(value);
if (!PrimitiveUtil.isAssignableFrom(getType(), value.getClass())) {
status = Status.illegalArgument(name, fval, getType());
代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.terminal
nextnext = next.react(this, Util.asString(next.getValue()), in, out, env);
} else if (next instanceof IContainer && ((Container) next).getNodes(env).size() == 1) {
内容来源于网络,如有侵权,请联系作者删除!