Package htsjdk.samtools.util.htsget
Class HtsgetResponse.Block
java.lang.Object
htsjdk.samtools.util.htsget.HtsgetResponse.Block
- Enclosing class:
- HtsgetResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets data from this block either from its base64 encoded data url or by making an http requestgetUri()
static HtsgetResponse.Block
parse
(org.json.JSONObject blockJson) Parse a single data block from a json value
-
Constructor Details
-
Block
-
-
Method Details
-
getUri
-
getHeaders
-
getDataClass
-
getData
Gets data from this block either from its base64 encoded data url or by making an http request- Returns:
- InputStream of data from this block
-
parse
Parse a single data block from a json value- Parameters:
blockJson
- json value representing a block- Returns:
- parsed block object
-