当前位置: 首页>>代码示例>>Java>>正文


Java StringMatcher类代码示例

本文整理汇总了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();
}
 
开发者ID:CubeEngine,项目名称:modules-extra,代码行数:17,代码来源:AnnouncementManager.java

示例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);
}
 
开发者ID:CubeEngine,项目名称:modules-main,代码行数:8,代码来源:ButcherCommand.java

示例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;
}
 
开发者ID:CubeEngine,项目名称:modules-main,代码行数:10,代码来源:LockerCommands.java

示例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;
}
 
开发者ID:CubeEngine,项目名称:modules-main,代码行数:7,代码来源:LivingFilterParser.java

示例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;
}
 
开发者ID:CubeEngine,项目名称:modules-extra,代码行数:7,代码来源:KitManager.java

示例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;
}
 
开发者ID:CubeEngine,项目名称:modules-extra,代码行数:7,代码来源:VigilCommands.java


注:本文中的org.cubeengine.libcube.service.matcher.StringMatcher类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。