本文整理匯總了Java中com.thoughtworks.xstream.core.util.ThreadSafePropertyEditor類的典型用法代碼示例。如果您正苦於以下問題:Java ThreadSafePropertyEditor類的具體用法?Java ThreadSafePropertyEditor怎麽用?Java ThreadSafePropertyEditor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ThreadSafePropertyEditor類屬於com.thoughtworks.xstream.core.util包,在下文中一共展示了ThreadSafePropertyEditor類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: PropertyEditorCapableConverter
import com.thoughtworks.xstream.core.util.ThreadSafePropertyEditor; //導入依賴的package包/類
public PropertyEditorCapableConverter(final Class<? extends PropertyEditor> propertyEditorType, final Class<?> type) {
this.type = type;
editor = new ThreadSafePropertyEditor(propertyEditorType, 2, 5);
}
示例2: PropertyEditorCapableConverter
import com.thoughtworks.xstream.core.util.ThreadSafePropertyEditor; //導入依賴的package包/類
public PropertyEditorCapableConverter(Class paramClass1, Class paramClass2)
{
this.type = paramClass2;
this.editor = new ThreadSafePropertyEditor(paramClass1, 2, 5);
}