Package org.vertx.java.platform.impl

Examples of org.vertx.java.platform.impl.ModuleIdentifier


   * @return
   *   Indicates whether the name is a module name.
   */
  public static boolean isModuleName(String moduleName) {
    try {
      new ModuleIdentifier(moduleName);
    } catch (IllegalArgumentException e) {
      return false;
    }
    return true;
  }
View Full Code Here


  @JsonSetter("module")
  public ModuleConfig setModule(String moduleName) {
    Args.checkNotNull(moduleName, "module name cannot be null");
    // Instantiate a module identifier to force it to validate the module name.
    // If the module name is invalid then an IllegalArgumentException will be thrown.
    new ModuleIdentifier(moduleName);
    this.module = moduleName;
    return this;
  }
View Full Code Here

TOP

Related Classes of org.vertx.java.platform.impl.ModuleIdentifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.