Giter VIP home page Giter VIP logo

folio-isbn-util's Introduction

folio-isbn-util

Copyright (C) 2018 The Open Library Foundation

This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.

Introduction

ISBN number converter utilities.

Provides implementation of methods for validation and conversion of ISBN-10 and ISBN-13 numbers using Apache Commons Validator library

METHOD DESCRIPTION
isValid10DigitNumber(String isbn10) Checks the code is a valid ISBN-10 code. Returns true if a valid ISBN-10 code, otherwise false
isValid13DigitNumber(String isbn13) Checks the code is a valid ISBN-13 code. Returns true if a valid ISBN-10 code, otherwise false
convertTo13DigitNumber(String isbn10) Converts an ISBN-10 code to an ISBN-13 code. Accepts ISBN-10 with or without formatting characters. Returns a converted ISBN-13 code or null if the ISBN-10 code is not valid
convertTo10DigitNumber(String isbn13) Converts an ISBN-13 code to an ISBN-10 code if possible. Accepts ISBN-13 with or without formatting characters. Returns a converted ISBN-10 code or null if the ISBN-13 code is not valid or does not have an ISBN-10 code.

In order to use the library add the dependency to the pom.xml file:

   <dependency>
     <groupId>org.folio</groupId>
     <artifactId>folio-isbn-util</artifactId>
     <version>x.y.z*</version>
     <type>jar</type>
   </dependency>

*x.y.z - latest release version

Additional information

folio-isbn-util's People

Contributors

dcrossleyau avatar katerynasenchenko avatar oleksiikuzminov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.