public class ISBNHyphenAppender
extends java.lang.Object
| Constructor and Description |
|---|
ISBNHyphenAppender() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
appendHyphenToISBN(java.lang.String ISBN)
Appends hyphens to an ISBN-10 or ISBN-13 without hyphens.
|
java.lang.String |
appendHyphenToISBN10(java.lang.String ISBN10)
Deprecated.
|
java.lang.String |
appendHyphenToISBN13(java.lang.String ISBN13)
Deprecated.
|
@Deprecated public java.lang.String appendHyphenToISBN10(java.lang.String ISBN10)
In an ISBN-10 with hyphens, these hyphens separate the number of the group (similar but no equal to country), the number of the editor, the number of the title and the "checksum" number.
ISBN10 - ISBN-10 to which hyphens are to be addedjava.lang.NullPointerException - if the ISBN-10 provided is nulljava.lang.IllegalArgumentException - if the length of the ISBN-10 provided is
not 10java.lang.UnsupportedOperationException - if the ISBN-10 provided is from a
ISBN group not implemented@Deprecated public java.lang.String appendHyphenToISBN13(java.lang.String ISBN13)
In an ISBN-13 with hyphens, these hyphens separate the first three digits, the number of the group (similar but no equal to country), the number of the editor, the number of the title and the "checksum" number.
ISBN13 - ISBN to which hyphens are to be addedjava.lang.NullPointerException - if the ISBN-13 provided is nulljava.lang.IllegalArgumentException - if the length of the ISBN-13 provided is
not 13java.lang.UnsupportedOperationException - if the ISBN-13 provided is from a
ISBN group not implementedpublic java.lang.String appendHyphenToISBN(java.lang.String ISBN)
In an ISBN-10 with hyphens, these hyphens separate the number of the group (similar but no equal to country), the number of the editor, the number of the title and the "checksum" number. The ISBN-13 adds a 3 digit code before.
ISBN - ISBN to which hyphens are to be addedjava.lang.NullPointerException - if the ISBN-10 provided is nulljava.lang.IllegalArgumentException - if the length of the ISBN provided is
not 10 or 13java.lang.UnsupportedOperationException - if the ISBN provided is from a ISBN
group not implemented