001/******************************************************************************* 002 * Copyright (c) 2024, 2026, Olivier Ayache. All rights reserved. 003 * 004 * This file is part of AVPKit. 005 * 006 * AVPKit is free software: you can redistribute it and/or modify 007 * it under the terms of the GNU Lesser General Public License as published by 008 * the Free Software Foundation, either version 3 of the License, or 009 * (at your option) any later version. 010 * 011 * AVPKit is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 014 * GNU Lesser General Public License for more details. 015 * 016 * You should have received a copy of the GNU Lesser General Public License 017 * along with AVPKit. If not, see <http://www.gnu.org/licenses/>. 018 *******************************************************************************/ 019 020package com.avpkit.core; 021 022/** 023 * Contains the version numbers for this library. 024 * 025 * <p> 026 * Use the accessor methods, not the constants, in your source code. 027 * </p> 028 */ 029public class Version 030{ 031 public static final int MAJOR_VERSION=1; 032 /** The Major Version Number (Currently 033 * "{@value #MAJOR_VERSION}"). 034 * @return the major version number. 035 */ 036 public static int getMajorVersion() { return MAJOR_VERSION; } 037 038 public static final int MINOR_VERSION=0; 039 /** The Minor Version Number (Currently 040 * "{@value #MINOR_VERSION}"). 041 * @return the minor version number. 042 */ 043 public static int getMinorVersion() { return MINOR_VERSION; } 044 045 public static final int REVISION=0; 046 /** The Revision Number (if known) (Currently 047 * "{@value #REVISION}"). 048 * @return the revision number, or 0 if unknown. 049 */ 050 public static int getRevision() { return REVISION; } 051 052 public static final String VERSION= 053 "1.0.0"; 054 /** The Version String (Currently {@value #VERSION}). 055 * @return the version string 056 */ 057 058 public static String getVersionString() { return VERSION; } 059 060 /** 061 * Don't allow creation of this class. 062 */ 063 064 private Version() {} 065}