org.test4j.hamcrest.matcher.file
类 FileMatchers

java.lang.Object
  继承者 org.test4j.hamcrest.matcher.file.FileMatchers

public class FileMatchers
extends Object


构造方法摘要
FileMatchers()
           
 
方法摘要
static Matcher<File> exists()
           
static Matcher<File> isDirectory()
           
static Matcher<File> isFile()
           
static Matcher<File> nameContain(String name)
           
static Matcher<File> named(Matcher<String> name)
           
static Matcher<File> nameEq(String name)
           
static Matcher<File> readable()
           
static Matcher<File> sized(long size)
           
static Matcher<File> sized(Matcher matcher)
           
static Matcher<File> withAbsolutePath(Matcher path)
           
static Matcher<File> withCanonicalPath(Matcher<String> path)
           
static Matcher<File> writable()
           
 
从类 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.