Package de.srsoftware.tools
Klasse Paths
java.lang.Object
de.srsoftware.tools.Paths
Utilities for working with application configuration
-
Methodenübersicht
-
Methodendetails
-
configDir
get a path to the config dir of a given application- Parameter:
applicationName- the name of the application- Gibt zurück:
- <user.home>/.config/<applicationName>
-
configDir
get a path to the config dir of a given application- Parameter:
clazz- the application's main class- Gibt zurück:
- <user.home>/.config/<clazz.simplename>
-
configDir
get a path to the config dir of a given application- Parameter:
clazz- the application's main class- Gibt zurück:
- <user.home>/.config/<clazz.simplename>
-
extension
get the extension part of a file name- Parameter:
file- the file to tokenize- Gibt zurück:
- the token after the last dot or the whole string if the filename contains no dot
-