Great! Many thanks.
Dave
On Sunday, 17 March 2013 08:18:27 UTC, dennis wrote:
>
> Sorry,it's getDeclaredConstructor:
>
> (-> klassname (Class/forName) (. getDeclaredConstructor String int)
> (.newInstance host port))
>
>
> 2013/3/17 dennis zhuang >
>
>> You can get the constructor and instance it
I need the ability to create one of a number of java classes which have
constructors taking a known list of parameters. There are a large enough
number of classes that having a set of conditions testing for each class
name would be unmanageable. The classes are from a third-party jar file so
I cann