Checks if the given encoding name is one of the supported encodings. @param encoding the encoding name to check @return true if the encoding is valid
(String encoding)
| 86 | * @return true if the encoding is valid |
| 87 | */ |
| 88 | protected boolean isValidEncoding(String encoding) { |
| 89 | return encoding.equalsIgnoreCase(SSIMediator.ENCODING_URL) || |
| 90 | encoding.equalsIgnoreCase(SSIMediator.ENCODING_ENTITY) || |
| 91 | encoding.equalsIgnoreCase(SSIMediator.ENCODING_NONE); |
| 92 | } |
| 93 | } |
no test coverage detected