Révision 1848
| tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 1848) | ||
|---|---|---|
| 502 | 502 |
} |
| 503 | 503 |
|
| 504 | 504 |
/** |
| 505 |
* Replaces all non allowed characters in file name to '_' and returns the cleaned file name. |
|
| 506 |
* @param fileName the file name to clean |
|
| 507 |
* @return the cleaned file name |
|
| 508 |
*/ |
|
| 509 |
public static String cleanFileName(String fileName) {
|
|
| 510 |
return fileName.replaceAll("[^a-zA-Z0-9\\._-]+", "_");
|
|
| 511 |
} |
|
| 512 |
|
|
| 513 |
/** |
|
| 514 | 505 |
* Auto-populate supported output file raster formats list from available system image writers. |
| 515 | 506 |
* @param supportedOutputFileFormats |
| 516 | 507 |
* @return |
| tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/Theme.java (revision 1848) | ||
|---|---|---|
| 10 | 10 |
|
| 11 | 11 |
/** |
| 12 | 12 |
* Base theme for charts. |
| 13 |
* |
|
| 13 | 14 |
* @author sjacquot |
| 14 | 15 |
* |
| 15 | 16 |
*/ |
Formats disponibles : Unified diff