Returns this object as a string. Note that we currently do not save plugin-defined syntax filters. @return A string representing this SyntaxFilters .
()
| 274 | * @return A string representing this <code>SyntaxFilters</code>. |
| 275 | */ |
| 276 | @Override |
| 277 | public String toString() { |
| 278 | |
| 279 | StringBuilder retVal = new StringBuilder(); |
| 280 | |
| 281 | for (String style : filters.keySet()) { |
| 282 | retVal.append(style).append(":").append(getFilterString(style)).append(","); |
| 283 | } |
| 284 | |
| 285 | // Get rid of the last comma. |
| 286 | retVal = new StringBuilder(retVal.substring(0, retVal.length() - 1)); |
| 287 | return retVal.toString(); |
| 288 | } |
| 289 | |
| 290 | |
| 291 | } |
no test coverage detected