Class PolyspaceUtils
- java.lang.Object
-
- com.mathworks.polyspace.jenkins.utils.PolyspaceUtils
-
public class PolyspaceUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description PolyspaceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Path
copyToTempFile(Path path)
static String
getFileContent(Path path)
static long
getFileLineCount(Path path)
static void
writeContent(Path path, ArrayList<String> content)
-
-
-
Method Detail
-
copyToTempFile
public static Path copyToTempFile(Path path) throws IOException
- Throws:
IOException
-
getFileContent
public static String getFileContent(Path path) throws IOException
- Throws:
IOException
-
writeContent
public static void writeContent(Path path, ArrayList<String> content) throws IOException
- Throws:
IOException
-
getFileLineCount
public static long getFileLineCount(Path path) throws IOException
- Throws:
IOException
-
-