Package io.strimzi.systemtest.utils
Class FileUtils
- java.lang.Object
-
- io.strimzi.systemtest.utils.FileUtils
-
public class FileUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
downloadAndUnzip(String url)
static File
downloadYaml(String url)
static File
downloadYamlAndReplaceNamespace(String url, String namespace)
static File
updateNamespaceOfYamlFile(String pathToOrigin, String namespace)
-
-
-
Method Detail
-
downloadAndUnzip
public static File downloadAndUnzip(String url) throws IOException
- Throws:
IOException
-
downloadYamlAndReplaceNamespace
public static File downloadYamlAndReplaceNamespace(String url, String namespace) throws IOException
- Throws:
IOException
-
downloadYaml
public static File downloadYaml(String url) throws IOException
- Throws:
IOException
-
updateNamespaceOfYamlFile
public static File updateNamespaceOfYamlFile(String pathToOrigin, String namespace) throws IOException
- Throws:
IOException
-
-