Package org.hamcrest.io
Class FileMatchers
java.lang.Object
org.hamcrest.io.FileMatchers
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileMatchers.FileStatus
static final FileMatchers.FileStatus
static final FileMatchers.FileStatus
static final FileMatchers.FileStatus
static final FileMatchers.FileStatus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaFileNamed
(Matcher<String> expected) aFileWithAbsolutePath
(Matcher<String> expected) aFileWithCanonicalPath
(Matcher<String> expected) aFileWithSize
(long size) aFileWithSize
(Matcher<Long> expected)
-
Field Details
-
CAN_WRITE
-
CAN_READ
-
IS_FILE
-
IS_DIRECTORY
-
EXISTS
-
-
Constructor Details
-
FileMatchers
public FileMatchers()
-
-
Method Details
-
anExistingDirectory
-
anExistingFileOrDirectory
-
anExistingFile
-
aReadableFile
-
aWritableFile
-
aFileWithSize
-
aFileWithSize
-
aFileNamed
-
aFileWithCanonicalPath
-
aFileWithAbsolutePath
-