Code example for Class

Methods: getName

0
	starterList.add (new UObjectStarter (urbi_name, uobject_ctor));
    } 
 
    public static void UStart (Class uobject_cls)
    { 
	String name = uobject_cls.getName ();
	String[] urbi_name = name.split ("\\.");
	if (urbi_name.length > 0) {
	    UStartRename(uobject_cls, urbi_name[urbi_name.length - 1]);
	} 
    } 
 
    public static void main (String argv[]) {
	/// Add program name at the begining of the argv array 
	String[] new_argv = new String [argv.length + 1];
	for (int i = 0; i < argv.length; ++i) {
	    new_argv[i + 1] = argv[i];
	} 
	new_argv[0] = "UObject";
	UrbiRoot root = new UrbiRoot("urbi-launch", false);
	urbi.main (new_argv.length, new_argv, root);