Class TemplateUtils
- java.lang.Object
-
- org.openstack4j.openstack.heat.utils.TemplateUtils
-
public class TemplateUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description TemplateUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URL
baseUrl(String url)
static URL
normaliseFilePathToUrl(String path)
static URL
normaliseFilePathToUrl(String baseUrl, String templateName)
static String
readToString(String filename)
static String
readToString(URL url)
-
-
-
Method Detail
-
readToString
public static String readToString(String filename) throws IOException
- Throws:
IOException
-
readToString
public static String readToString(URL url) throws IOException
- Throws:
IOException
-
baseUrl
public static URL baseUrl(String url) throws MalformedURLException
- Throws:
MalformedURLException
-
normaliseFilePathToUrl
public static URL normaliseFilePathToUrl(String path) throws MalformedURLException, URISyntaxException
-
normaliseFilePathToUrl
public static URL normaliseFilePathToUrl(String baseUrl, String templateName) throws MalformedURLException, URISyntaxException
-
-