public static class ExcelAction.StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fixName(String str)
Altera a string, substituindo os caracteres
'\', '[', ']', '>', '<', '*', * '?', ':', '/'. |
static String |
removeAccents(String str)
"Remove" acentos: substitui caracteres acentuados pelos caracteres
correspondentes sem acento (i.e.
|
public static String fixName(String str)
'\', '[', ']', '>', '<', '*', * '?', ':', '/'.
Estes caracteres não são aceitos, em nomes de arquivos.
Além disso a string é truncado para 30 caracteres.str - a string a ser alteradaCopyright © 2019 Tecgraf/PUC-Rio. All rights reserved.