Class SingleRootFileSource
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.AbstractFileSource
-
- com.github.tomakehurst.wiremock.common.SingleRootFileSource
-
- All Implemented Interfaces:
FileSource
public class SingleRootFileSource extends AbstractFileSource
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.common.AbstractFileSource
rootDirectory
-
-
Constructor Summary
Constructors Constructor Description SingleRootFileSource(java.io.File rootDirectory)
SingleRootFileSource(java.lang.String rootPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSource
child(java.lang.String subDirectoryName)
protected boolean
readOnly()
java.lang.String
toString()
-
Methods inherited from class com.github.tomakehurst.wiremock.common.AbstractFileSource
byFileExtension, createIfNecessary, deleteFile, exists, getBinaryFileNamed, getPath, getTextFileNamed, getUri, listFilesRecursively, writeBinaryFile, writeTextFile
-
-
-
-
Method Detail
-
child
public FileSource child(java.lang.String subDirectoryName)
-
readOnly
protected boolean readOnly()
- Specified by:
readOnly
in classAbstractFileSource
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-