public class CodecUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_CHARS_PER_CHAIN_ENTRY
The maximum number of chars in a chain entry.
|
| Constructor and Description |
|---|
CodecUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
convertToIntArray(java.util.List<java.lang.Integer> integerList)
Converts an integer list to an integer array
|
static java.lang.String |
getMmtfBaseUrl(boolean https,
boolean reduced)
Returns the base URL to retrieve MMTF files.
|
static java.lang.String |
getMmtfEntryUrl(java.lang.String pdbId,
boolean https,
boolean reduced)
Returns the RESTful URL to an MMTF encoded PDB entry.
|
public static final int MAX_CHARS_PER_CHAIN_ENTRY
public static java.lang.String getMmtfEntryUrl(java.lang.String pdbId,
boolean https,
boolean reduced)
pdbId - PDB Idhttps - if true, use HTTPS instead of HTTPreduced - if true, use reduced representation of MMTF file instead of full representationpublic static java.lang.String getMmtfBaseUrl(boolean https,
boolean reduced)
https - if true, returns https URL, otherwise http URLreduced - if true, returns URL to
reduced MMTF files (C-alpha: polypeptides, P polynucleotides, all other groups: all atom, limited precision),
otherwise full version (all atoms, full precision)public static int[] convertToIntArray(java.util.List<java.lang.Integer> integerList)
integerList - the input listCopyright © 2015-2019 RCSB PDB. All Rights Reserved.