Class IOUtils
java.lang.Object
htsjdk.beta.plugin.IOUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IOPathcreateTempPath(String prefix, String suffix) Create a temporary file using a given name prefix and name suffix and return aPath.static StringgetStringFromPath(IOPath ioPath) Get the entire contents of an IOPath as a string.static HtsPathConvert Path to GATKPath, returning null if input was null.static voidwriteStringToPath(IOPath ioPath, String contents, boolean gzipOutput) Write a String to an IOPath.
-
Constructor Details
-
IOUtils
public IOUtils()
-
-
Method Details
-
createTempPath
Create a temporary file using a given name prefix and name suffix and return aPath.- Parameters:
prefix-suffix-- Returns:
- temp File that will be deleted on exit
- Throws:
IOException
-
toHtsPath
-
getStringFromPath
-
writeStringToPath
-