} else if (obj instanceof byte[]) {
return encode((byte[]) obj);
} else if (obj instanceof String) {
return encode((String) obj);
} else {
throw new EncoderException("Objects of type " +
obj.getClass().getName() +
" cannot be quoted-printable encoded");
}
}