Package org.wikier.trioo.jtrioo.annotations

Examples of org.wikier.trioo.jtrioo.annotations.URI


  private String separator;
 
  @SuppressWarnings("rawtypes")
  public MetaURI(Class cls) throws IllegalArgumentException {
    this.cls = cls;
    URI uri = ((AnnotatedElement)cls).getAnnotation(URI.class);
    if (uri != null) {
      this.base = uri.base();
      this.parts = uri.parts();
      this.separator = uri.separator();
      this.validate();
    } else {
      throw new IllegalArgumentException("Class not annotated with any URI");
    }
  }
View Full Code Here

TOP

Related Classes of org.wikier.trioo.jtrioo.annotations.URI

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.