question: static String encodeStub ( RMIServer rmiServer , Map < String , ? > env ) throws IOException { if ( IIOPHelper . isStub ( rmiServer ) ) return "/ior/" + encodeIIOPStub ( rmiServer , env ) ; else return "/stub/" + encodeJRMPStub ( rmiServer , env ) ; }
target:  Returns the IOR of the given rmiServer.