com.madgag.hamcrest
Class FileLengthMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<File>
com.madgag.hamcrest.FileLengthMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<File>, org.hamcrest.SelfDescribing
public class FileLengthMatcher
- extends org.hamcrest.TypeSafeMatcher<File>
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
matchesSafely
public boolean matchesSafely(File file)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<File>
describeTo
public void describeTo(org.hamcrest.Description description)
ofLength
public static <T> org.hamcrest.Matcher<File> ofLength(long length)
Copyright © 2011. All Rights Reserved.