Re: [htmltmpl-java] deprached constructor
Status: Beta
Brought to you by:
bluesmoon
|
From: Philip S T. <phi...@gm...> - 2003-01-27 14:35:45
|
On 27 Jan 2003, Thomas Wabner wrote:
> Template templ = new Template("myTemplate.html");
>
> the the java compiler says to me:
>
> "the constructor Template(String) is deprached"
>
> what kind of constructor should i now use, to create a new
> template-class from a given template file?
you should use either the Hashtable style constructor or the Array style
constructor. Both are documented in the HTML.Template API docs.
Philip
--
Decaffeinated coffee? Just Say No.
|