本文整理汇总了Java中org.cubeengine.libcube.service.matcher.StringMatcher类的典型用法代码示例。如果您正苦于以下问题:Java StringMatcher类的具体用法?Java StringMatcher怎么用?Java StringMatcher使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
StringMatcher类属于org.cubeengine.libcube.service.matcher包,在下文中一共展示了StringMatcher类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: AnnouncementManager
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
public AnnouncementManager(Shout module, Path modulePath, I18n i18n, PermissionManager pm, TaskManager tm,
StringMatcher stringMatcher, Reflector reflector)
{
this.module = module;
this.pm = pm;
this.tm = tm;
this.stringMatcher = stringMatcher;
this.reflector = reflector;
this.log = module.getLog();
this.i18n = i18n;
this.dynamicAnnouncements = new HashMap<>();
this.fixedCycleAnnouncements = new LinkedHashMap<>();
this.modulePath = modulePath;
this.handleFirstRun();
}
示例2: ButcherCommand
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
public ButcherCommand(PermissionManager pm, VanillaPlus module, I18n i18n, CommandManager cm, StringMatcher sm)
{
super(pm, VanillaPlus.class);
this.module = module;
this.i18n = i18n;
cm.getProviders().register(module, new LivingFilterParser(pm, i18n, sm), LivingFilter.class);
}
示例3: LockerCommands
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
@Inject
public LockerCommands(CommandManager base, Locker module, I18n i18n, StringMatcher sm)
{
super(base, Locker.class);
this.module = module;
this.manager = module.getManager();
this.sm = sm;
this.i18n = i18n;
}
示例4: LivingFilterParser
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
public LivingFilterParser(PermissionManager pm, I18n i18n, StringMatcher sm)
{
super(pm, VanillaPlus.class);
this.i18n = i18n;
this.sm = sm;
}
示例5: KitManager
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
public KitManager(Kits module, Reflector reflector, StringMatcher sm)
{
this.module = module;
this.reflector = reflector;
this.sm = sm;
}
示例6: VigilCommands
import org.cubeengine.libcube.service.matcher.StringMatcher; //导入依赖的package包/类
public VigilCommands(StringMatcher sm, I18n i18n, CommandManager cm)
{
super(cm, Vigil.class);
this.sm = sm;
this.i18n = i18n;
}