Class PublishUtils
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.publication.PublishUtils
-
public class PublishUtils extends Object
Contains utility methods for publication purposes.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description PublishUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path
correctPath(String path)
Performs minor syntactic cleanup of path, it will correct the input string for OS.static String
correctPathAsString(String path)
Performs minor syntactic cleanup of path, it will correct the input string for OS.static String
normalizeSeparators(String path)
Replaces Windows file separators to Unix file separators.static String
removeQuotes(String line)
Removes quotes from line.
-
-
-
Method Detail
-
correctPathAsString
public static String correctPathAsString(String path)
Performs minor syntactic cleanup of path, it will correct the input string for OS.- Parameters:
path
- for correcting, can benull
, thennull
will be returned- Returns:
- correct path for OS or
null
-
correctPath
public static Path correctPath(String path)
Performs minor syntactic cleanup of path, it will correct the input string for OS.- Parameters:
path
- for correcting, can benull
, thennull
will be returned- Returns:
- correct path for OS or
null
-
removeQuotes
public static String removeQuotes(String line)
Removes quotes from line.- Parameters:
line
- for removing quotes- Returns:
- line without quotes or
null
-
-