### Question:
URLParameterEncoder implements IEncoder <String, String> { @Nullable public String getEncoded (@Nullable final String sInput) { return sInput == null ? null : URLHelper.urlEncode (sInput, m_aCharset); } URLParameterEncoder(@Nonnull final Charset aCharset); @Nonnull final Charset getCharset(); @Nullable String getEncoded(@Nullable final String sInput);  }### Answer:
@Test public void testEncode () { final URLParameterEncoder aPE = new URLParameterEncoder (StandardCharsets.ISO_8859_1); assertEquals ("a+b+c", aPE.getEncoded ("a b c")); assertEquals ("a+b+c%3Ad", aPE.getEncoded ("a b c:d")); }