public class PDBIdentifier extends AbstractIdentifier
The identifier is a 4 character code, where the first character is any number followed by three alphanumeric characters.
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN
The pattern to verify the identifier.
|
| Constructor and Description |
|---|
PDBIdentifier(String identifier)
Creates a new identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
extractFirst(String line)
Extracts the first occurrence of any PDB identifier from a string.
|
equals, getIdentifier, hashCode, toStringpublic static final Pattern PATTERN
public PDBIdentifier(String identifier) throws IllegalArgumentException
identifier - The identifier.IllegalArgumentException - If the identifier not valid.Copyright © 2017. All rights reserved.