bad.robot.http.matchers
Class UrlMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<URL>
          extended by bad.robot.http.matchers.UrlMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<URL>, org.hamcrest.SelfDescribing

public class UrlMatcher
extends org.hamcrest.TypeSafeMatcher<URL>


Constructor Summary
UrlMatcher(String path)
           
 
Method Summary
static org.hamcrest.Matcher<URL> containsPath(String path)
           
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(URL url)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UrlMatcher

public UrlMatcher(String path)
Method Detail

containsPath

public static org.hamcrest.Matcher<URL> containsPath(String path)

matchesSafely

public boolean matchesSafely(URL url)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<URL>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2012. All Rights Reserved.