package netscape.net; import netscape.url.URL; public abstract interface UCF { public abstract String getProtocolName(); public abstract UC createUC(URL url, NC nc) throws Exception; } |
The C signature of this method is:
Note that although the java method signature does not specify that an exception may be thrown, due to the existance of java errors, an error may be reflected in this method's final argument.
#include "UCF.h" const char *UCF_getProtocolName(UCF *self, JMCException **e); UC *UCF_createUC(UCF *self, URL *url, NC *nc, JMCException **e); /* methods inherited from base JMC object interface */ void *UCF_getInterface(UCF *self, JMCInterfaceID id, JMCException **e); void UCF_addRef(UCF *self, JMCException **e); void UCF_release(UCF *self, JMCException **e); jint UCF_hashCode(UCF *self, JMCException **e); void *UCF_clone(UCF *self, JMCException **e); const char *UCF_toString(UCF *self, JMCException **e); void UCF_finalize(UCF *self, JMCException **e); |