public String [ ] getArray ( ) { // Create a copy to return to provide isolation. String [ ] newArray = null ; // Returning a list of the destination names excluding the // 'big' destination name. newArray = new String [ fullMsgPath . size ( ) - 1 ] ; for ( int i = 0 ; i < newArray . length ; i ++ ) { newArray [ i ] = ( ( SIDestinationAddress ) fullMsgPath . get ( i ) ) . getDestinationName ( ) ; } //for return newArray ; }
Returns a list of the destination names not including the big destination name .