Package htsjdk.samtools.seekablestream
Class SeekableStreamFactory
java.lang.Object
htsjdk.samtools.seekablestream.SeekableStreamFactory
Singleton class for getting
SeekableStream
s from URL/paths
Applications using this library can set their own factory-
Method Summary
Modifier and TypeMethodDescriptionstatic ISeekableStreamFactory
static boolean
isFilePath
(String path) Does this path point to a regular file on disk and not something like a URL?static void
setInstance
(ISeekableStreamFactory factory)
-
Method Details
-
setInstance
-
getInstance
-
isFilePath
Does this path point to a regular file on disk and not something like a URL?- Parameters:
path
- the path to test- Returns:
- true if the path is to a file on disk
-