Class Dos2UnixUtils
java.lang.Object
org.qubership.atp.mia.utils.dos2unix.utils.Dos2UnixUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathdestinationToRealPath(Path dest) Transform existing path to file, which need will be transformed by dos2unix.static PathgetDos2UnixPath(String pathToDos2UnixS, String... pathToDos2Unix) Transforms dos2unix path toRealPath, it allows to check whether it exists.
-
Constructor Details
-
Dos2UnixUtils
public Dos2UnixUtils()
-
-
Method Details
-
getDos2UnixPath
Transforms dos2unix path toRealPath, it allows to check whether it exists.- Parameters:
pathToDos2UnixS- start of path.pathToDos2Unix- the rest of path.- Returns:
RealPathto dos2unix tool.
-
destinationToRealPath
Transform existing path to file, which need will be transformed by dos2unix. Need to check whether given path exists.- Parameters:
dest- path to file.- Returns:
RealPathof given file.
-