Package htsjdk.samtools.seekablestream
Class SeekableStreamFactory
java.lang.Object
htsjdk.samtools.seekablestream.SeekableStreamFactory
Singleton class for getting
SeekableStreams from URL/paths
Applications using this library can set their own factory-
Method Summary
Modifier and TypeMethodDescriptionstatic ISeekableStreamFactorystatic booleanisFilePath(String path) Does this path point to a regular file on disk and not something like a URL?static voidsetInstance(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
-