org.test4j.hamcrest.matcher.file
类 FileMatchers
java.lang.Object
org.test4j.hamcrest.matcher.file.FileMatchers
public class FileMatchers
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMatchers
public FileMatchers()
isDirectory
public static Matcher<File> isDirectory()
exists
public static Matcher<File> exists()
isFile
public static Matcher<File> isFile()
readable
public static Matcher<File> readable()
writable
public static Matcher<File> writable()
sized
public static Matcher<File> sized(long size)
sized
public static Matcher<File> sized(Matcher matcher)
nameEq
public static Matcher<File> nameEq(String name)
nameContain
public static Matcher<File> nameContain(String name)
named
public static Matcher<File> named(Matcher<String> name)
withCanonicalPath
public static Matcher<File> withCanonicalPath(Matcher<String> path)
withAbsolutePath
public static Matcher<File> withAbsolutePath(Matcher path)
Copyright © 2013. All rights reserved.