private static Object [ ] decodePair ( String text ) { Object [ ] result = new Object [ 2 ] ; int i = text . indexOf ( ' ' ) ; result [ 0 ] = URLDecode ( text . substring ( 0 , i ) ) ; result [ 1 ] = decodeObject ( text . substring ( i + 1 ) ) ; return result ; }
Decode a name = value pair