JISystem.internal_setClsidtoProgId(progId,clsid.getCLSID());
this.clsid = clsid.getCLSID().toUpperCase(); this.session = session; this.session.setTargetServer(address.substring(address.indexOf(":") + 1,address.indexOf("[")));
this.clsid = clsid.getCLSID ().toUpperCase (); this.session = session; this.session.setTargetServer ( address.substring ( address.indexOf ( ":" ) + 1, address.indexOf ( "[" ) ) );
JISystem.internal_setClsidtoProgId(progId,clsid.getCLSID());
this.clsid = clsid.getCLSID().toUpperCase(); this.session = session; this.session.setTargetServer(address.substring(address.indexOf(":") + 1,address.indexOf("[")));
JISystem.internal_setClsidtoProgId ( this.progId, this.clsid.getCLSID () );
/** * Return details about a serve class * @param clsId A server class * @throws JIException */ public ClassDetails getClassDetails ( final JIClsid clsId ) throws JIException { if ( clsId == null ) { return null; } JICallBuilder callObject = new JICallBuilder ( true ); callObject.setOpnum ( 1 ); callObject.addInParamAsUUID ( clsId.getCLSID (), JIFlags.FLAG_NULL ); callObject.addOutParamAsObject ( new JIPointer ( new JIString ( JIFlags.FLAG_REPRESENTATION_STRING_LPWSTR ) ), JIFlags.FLAG_NULL ); callObject.addOutParamAsObject ( new JIPointer ( new JIString ( JIFlags.FLAG_REPRESENTATION_STRING_LPWSTR ) ), JIFlags.FLAG_NULL ); Object[] result = Helper.callRespectSFALSE ( getCOMObject (), callObject ); ClassDetails cd = new ClassDetails (); cd.setClsId ( clsId.getCLSID () ); cd.setProgId ( ( (JIString) ( (JIPointer)result[0] ).getReferent () ).getString () ); cd.setDescription ( ( (JIString) ( (JIPointer)result[1] ).getReferent () ).getString () ); return cd; }