Class ProfileLocation
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.profiles.ProfileLocation
-
public final class ProfileLocation extends Object
Utility method to handle 1C:Enterprise profileslocation.cfg
file and get actual location.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path
getLocation(Path locationFile)
Get actual 1C:Enterprise profiles location by the profileslocation.cfg
config file.
-
-
-
Method Detail
-
getLocation
public static Path getLocation(Path locationFile) throws IOException
Get actual 1C:Enterprise profiles location by the profileslocation.cfg
config file.- Parameters:
locationFile
- the profiles config file, cannot benull
- Returns:
- path to actual 1C:Enterprise profiles location or
null
iflocationFile
does not point to existing profile file or format is invalid - Throws:
IOException
- if I/O error occurred
-
-