Class WindowsDos2Unix

java.lang.Object
org.qubership.atp.mia.utils.dos2unix.impl.WindowsDos2Unix
All Implemented Interfaces:
Dos2Unix

public class WindowsDos2Unix extends Object implements Dos2Unix
  • Constructor Details

    • WindowsDos2Unix

      public WindowsDos2Unix(String pathToDos2Unix)
  • Method Details

    • runDos2Unix

      public void runDos2Unix(Path destSource)
      Description copied from interface: Dos2Unix
      Run command dest2unix (utility from GNU, also present in Windows) at dest file. Command run only if needDos2Unix parameter is true and operation system where MIA ran is Linux.
      Specified by:
      runDos2Unix in interface Dos2Unix
      Parameters:
      destSource - path to file at which bash dos2unix command will be executed.