本文整理汇总了Java中com.addthis.bundle.core.BundleFactory类的典型用法代码示例。如果您正苦于以下问题:Java BundleFactory类的具体用法?Java BundleFactory怎么用?Java BundleFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BundleFactory类属于com.addthis.bundle.core包,在下文中一共展示了BundleFactory类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ColumnRowReader
import com.addthis.bundle.core.BundleFactory; //导入依赖的package包/类
public ColumnRowReader(InputStream inputStream, String[] filterFields, BundleFactory bundleFactory) {
if (filterFields != null && filterFields.length > 0) {
fieldFilterSet = new HashSet<>(filterFields.length);
Collections.addAll(fieldFilterSet, filterFields);
} else {
fieldFilterSet = null;
}
this.inputStream = inputStream;
this.bundleFactory = bundleFactory;
}
示例2: DataTableListWrapper
import com.addthis.bundle.core.BundleFactory; //导入依赖的package包/类
public DataTableListWrapper(List<Bundle> list) {
final ListBundleFormat listFormat = new ListBundleFormat();
this.format = listFormat;
this.list = list;
this.factory = new BundleFactory() {
@Override
public Bundle createBundle() {
return new ListBundle(listFormat);
}
};
}
示例3: DataChannelReader
import com.addthis.bundle.core.BundleFactory; //导入依赖的package包/类
public DataChannelReader(BundleFactory factory, InputStream in) {
this.factory = factory;
this.in = in;
}
示例4: getFactory
import com.addthis.bundle.core.BundleFactory; //导入依赖的package包/类
@Override public BundleFactory getFactory() {
return factory;
}
示例5: getFactory
import com.addthis.bundle.core.BundleFactory; //导入依赖的package包/类
BundleFactory getFactory();