Java bridge question
Java bridge question
- Subject: Java bridge question
- From: Rolf <email@hidden>
- Date: Mon, 19 May 2003 14:13:44 +0200
Hi,
I have a Java class that I'm trying to create an object of in Objective C. I'm having problems calling the constructor (which has a string parameter).
The declaration of the Java class constuctor is:
public IniFile(String name)
From objective-C I call:
id iniConfig = [[NSClassFromString(@"IniFile") alloc] init:@"test.ini"];
This does not work. Calling constructors of other Java classes in the same manner works fine (as long as they don't take a parameter).
Anybody know how to solve this ?
/Rolf
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.