public class FilenameUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static @NotNull java.lang.String |
quoteName(@NotNull java.lang.String name)
Converts a file name to a "safe" form.
|
@NotNull public static @NotNull java.lang.String quoteName(@NotNull @NotNull java.lang.String name)
UNSAFE_FILENAME_CHARACTERS
), and it will not be empty.name
- the file name to convert