public class InChIKey extends AbstractIdentifier
The InChIKey is a short, fixed-length character signature based on a hash code of the InChI string.
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATTERN
The pattern to verify the identifier.
|
| Constructor and Description |
|---|
InChIKey(String identifier)
Creates a new identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(Identifier identifier)
Returns true, if the identifier is valid.
|
static Pattern |
getPattern()
Returns the pattern used to validate the identifier.
|
equals, getIdentifier, hashCode, toStringpublic static final Pattern PATTERN
public InChIKey(String identifier) throws IllegalArgumentException
identifier - The identifier.IllegalArgumentException - If the identifier not valid.public static boolean check(Identifier identifier)
identifier - The identifier.public static Pattern getPattern()
Copyright © 2017. All rights reserved.