Class BlobStoreFileSource
java.lang.Object
com.github.tomakehurst.wiremock.store.files.BlobStoreFileSource
- All Implemented Interfaces:
FileSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteFile
(String name) boolean
exists()
getBinaryFileNamed
(String name) getPath()
getTextFileNamed
(String name) getUri()
void
writeBinaryFile
(String name, byte[] contents) void
writeTextFile
(String name, String contents)
-
Constructor Details
-
BlobStoreFileSource
-
-
Method Details
-
getBinaryFileNamed
- Specified by:
getBinaryFileNamed
in interfaceFileSource
-
getTextFileNamed
- Specified by:
getTextFileNamed
in interfaceFileSource
-
createIfNecessary
public void createIfNecessary()- Specified by:
createIfNecessary
in interfaceFileSource
-
child
- Specified by:
child
in interfaceFileSource
-
getPath
- Specified by:
getPath
in interfaceFileSource
-
getUri
- Specified by:
getUri
in interfaceFileSource
-
listFilesRecursively
- Specified by:
listFilesRecursively
in interfaceFileSource
-
writeTextFile
- Specified by:
writeTextFile
in interfaceFileSource
-
writeBinaryFile
- Specified by:
writeBinaryFile
in interfaceFileSource
-
exists
public boolean exists()- Specified by:
exists
in interfaceFileSource
-
deleteFile
- Specified by:
deleteFile
in interfaceFileSource
-