@Test public void testname() throws Exception { Map<String, String> result = QuotedPropertyParser.parse( "param1=one&\"\"param2='2'&\"myK\"ey='my&\"value'&param3=3" ); assertThat( result, hasEntry( "param1", "one" ) ); assertThat( result, hasEntry( "param2", "2" ) ); assertThat( result, hasEntry( "myKey", "my&\"value" ) ); assertThat( result, hasEntry( "param3", "3" ) ); assertThat( "3 entries", result.size(), is( 4 ) ); }
public static Map<String, String> parse( CharSequence seq ) { Map<String, String> hashMap = new HashMap<String, String>(); parse( seq, hashMap ); return hashMap; }
QuotedPropertyParser { public static Map<String, String> parse( CharSequence seq ) { Map<String, String> hashMap = new HashMap<String, String>(); parse( seq, hashMap ); return hashMap; } }
QuotedPropertyParser { public static Map<String, String> parse( CharSequence seq ) { Map<String, String> hashMap = new HashMap<String, String>(); parse( seq, hashMap ); return hashMap; } private  QuotedPropertyParser(); }
QuotedPropertyParser { public static Map<String, String> parse( CharSequence seq ) { Map<String, String> hashMap = new HashMap<String, String>(); parse( seq, hashMap ); return hashMap; } private  QuotedPropertyParser(); static Map<String, String> parse( CharSequence seq ); static void parse( CharSequence string, Map<? super String, ? super String> propertyMap ); }
QuotedPropertyParser { public static Map<String, String> parse( CharSequence seq ) { Map<String, String> hashMap = new HashMap<String, String>(); parse( seq, hashMap ); return hashMap; } private  QuotedPropertyParser(); static Map<String, String> parse( CharSequence seq ); static void parse( CharSequence string, Map<? super String, ? super String> propertyMap );  }