Package org.apache.clerezza.triaxrs.util

Examples of org.apache.clerezza.triaxrs.util.PathSegmentImpl


  public static List<PathSegment> parsePath(String path) {
    String[] segmentsArray = StringUtils.fastSplitTemplate(path, "/", true); //$NON-NLS-1$
    List<PathSegment> pathSegments = new ArrayList<PathSegment>(segmentsArray.length);
    // go over all the segments and add them
    for (String segment : segmentsArray) {
      pathSegments.add(new PathSegmentImpl(segment, null));
    }
    return pathSegments;
  }
View Full Code Here

TOP

Related Classes of org.apache.clerezza.triaxrs.util.PathSegmentImpl

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.