java.lang.Object
net.thucydides.model.resources.FileResources
Utility class used to copy resources from a classpath to a target directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcopyResourceTo(String sourceResource, File targetDirectory) protected FileOutputStreamcreateOutputStream(File destinationFile) final StringfindTargetFileFrom(String sourceResource) final StringfindTargetSubdirectoryFrom(String sourceResource) static FileResourcesstatic longfinal String
-
Constructor Details
-
FileResources
-
-
Method Details
-
from
-
findTargetSubdirectoryFrom
-
stripLeadingSeparatorFrom
-
findTargetFileFrom
-
copyResourceTo
- Throws:
IOException
-
getDefaultRetryTimeout
public static long getDefaultRetryTimeout() -
createOutputStream
- Throws:
FileNotFoundException
-