Class SeekableStreamFactory

java.lang.Object
htsjdk.samtools.seekablestream.SeekableStreamFactory

public class SeekableStreamFactory extends Object
Singleton class for getting SeekableStreams from URL/paths Applications using this library can set their own factory
  • Method Details

    • setInstance

      public static void setInstance(ISeekableStreamFactory factory)
    • getInstance

      public static ISeekableStreamFactory getInstance()
    • isFilePath

      public static boolean isFilePath(String path)
      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