    001/**
    002 * Copyright (c) 2014 Digi International Inc.,
    003 * All rights not expressly granted are reserved.
    004 *
    005 * This Source Code Form is subject to the terms of the Mozilla Public
    006 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
    007 * You can obtain one at http://mozilla.org/MPL/2.0/.
    008 *
    009 * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
    010 * =======================================================================
    011 */
    012package com.digi.xbee.api;
    013
    014/**
    015 * Class used to retrieve the current version of the XBee Java Library.
    016 */
    017public class Version {
    018
    019        // Constants.
    020        public final static String CURRENT_VERSION = Version.class.getPackage().getImplementationVersion();
    021
    022        /**
    023         * Returns the current version of the XBee Java Library.
    024         *
    025         * @return The current version of the XBee Java Library.
    026         */
    027        public static String getCurrentVersion() {
    028                return CURRENT_VERSION;
    029        }
    030}