| Modifier and Type | Field and Description |
|---|---|
| public static final URI | |
| private static final String | |
| private final String | |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern | |
| private static final String | |
| private static final Pattern | |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| private static final String | |
| private static final String | |
| private boolean | |
| private static final Logger | |
| public static final URI | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. DOIs are case-insensitive. |
| public static Optional | Returns: an Optional containing the DOI or an empty Optionalthe Text which might contain a DOI/Short DOI text)Tries to find a DOI/Short DOI inside the given text. |
| public Field | |
| public String | |
| public Optional | Returns: an encoded URI representation of the DOI/Short DOIImplements org. Return a URI presentation for the DOI/Short DOI |
| public Optional | |
| public Optional | |
| public String | getNormalized()
Implements org. Returns the identifier. |
| public String | Returns: an encoded URL representation of the DOI/Short DOIReturn an ASCII URL presentation for the DOI/Short DOI |
| public int | |
| public boolean | Returns: true if DOI is short DOI, false otherwiseDetermines whether DOI is short DOI or not |
| public static boolean | |
| public static Optional | |
| public String |
| AGENCY_RESOLVER | back to summary |
|---|---|
| public static final URI AGENCY_RESOLVER | |
| CHARS_TO_REMOVE | back to summary |
|---|---|
| private static final String CHARS_TO_REMOVE | |
| doi | back to summary |
|---|---|
| private final String doi | |
| DOI_EXP | back to summary |
|---|---|
| private static final String DOI_EXP | |
| EXACT_DOI_PATT | back to summary |
|---|---|
| private static final Pattern EXACT_DOI_PATT | |
| EXACT_SHORT_DOI_PATT | back to summary |
|---|---|
| private static final Pattern EXACT_SHORT_DOI_PATT | |
| EXACT_SHORT_DOI_SHORTCUT | back to summary |
|---|---|
| private static final Pattern EXACT_SHORT_DOI_SHORTCUT | |
| FIND_DOI_EXP | back to summary |
|---|---|
| private static final String FIND_DOI_EXP | |
| FIND_DOI_PATT | back to summary |
|---|---|
| private static final Pattern FIND_DOI_PATT | |
| FIND_SHORT_DOI_EXP | back to summary |
|---|---|
| private static final String FIND_SHORT_DOI_EXP | |
| FIND_SHORT_DOI_PATT | back to summary |
|---|---|
| private static final Pattern FIND_SHORT_DOI_PATT | |
| FIND_SHORT_DOI_SHORTCUT | back to summary |
|---|---|
| private static final Pattern FIND_SHORT_DOI_SHORTCUT | |
| HTTP_EXP | back to summary |
|---|---|
| private static final String HTTP_EXP | |
| IN_TEXT_SHORT_DOI_SHORTCUT | back to summary |
|---|---|
| private static final String IN_TEXT_SHORT_DOI_SHORTCUT | |
| isShortDoi | back to summary |
|---|---|
| private boolean isShortDoi | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| RESOLVER | back to summary |
|---|---|
| public static final URI RESOLVER | |
| SHORT_DOI_EXP | back to summary |
|---|---|
| private static final String SHORT_DOI_EXP | |
| SHORT_DOI_EXP_PREFIX | back to summary |
|---|---|
| private static final String SHORT_DOI_EXP_PREFIX | |
| SHORT_DOI_HTTP_EXP | back to summary |
|---|---|
| private static final String SHORT_DOI_HTTP_EXP | |
| SHORT_DOI_SHORTCUT | back to summary |
|---|---|
| private static final String SHORT_DOI_SHORTCUT | |
| DOI | back to summary |
|---|---|
| public DOI(String doi) Creates a DOI from various schemes including URL, URN, and plain DOIs/Short DOIs.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. DOIs are case-insensitive. Thus, 10.1109/cloud.2017.89 equals 10.1109/CLOUD.2017.89
| |
| findInText | back to summary |
|---|---|
| public static Optional Tries to find a DOI/Short DOI inside the given text. | |
| getDefaultField | back to summary |
|---|---|
| public Field getDefaultField() Implements org.
| |
| getDOI | back to summary |
|---|---|
| public String getDOI() Return the plain DOI/Short DOI
| |
| getExternalURI | back to summary |
|---|---|
| public Optional Implements org. Return a URI presentation for the DOI/Short DOI | |
| getExternalURIFromBase | back to summary |
|---|---|
| public Optional | |
| getExternalURIWithCustomBase | back to summary |
|---|---|
| public Optional | |
| getNormalized | back to summary |
|---|---|
| public String getNormalized() Implements org. Doc from org. Returns the identifier.
| |
| getURIAsASCIIString | back to summary |
|---|---|
| public String getURIAsASCIIString() Return an ASCII URL presentation for the DOI/Short DOI
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isShortDoi | back to summary |
|---|---|
| public boolean isShortDoi() Determines whether DOI is short DOI or not
| |
| isValid | back to summary |
|---|---|
| public static boolean isValid(String doi) Determines whether a DOI/Short DOI is valid or not
| |
| parse | back to summary |
|---|---|
| public static Optional Creates an
Useful for suppressing the | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |