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 URLbaseUrl(String url)static URLnormaliseFilePathToUrl(String path)static URLnormaliseFilePathToUrl(String baseUrl, String templateName)static StringreadToString(String filename)static StringreadToString(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
-
-