All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hfg.css.CSSLevel Maven / Gradle / Ivy

There is a newer version: 20240423
Show newest version
package com.hfg.css;

public class CSSLevel
{
   public static final CSSLevel CSS_1   = new CSSLevel("1");
   public static final CSSLevel CSS_2   = new CSSLevel("2");
   public static final CSSLevel CSS_2_1 = new CSSLevel("2.1");
   public static final CSSLevel CSS_3   = new CSSLevel("3");

   private String  mVersionString;
   private Float   mVersionNum;

   //--------------------------------------------------------------------------
   private CSSLevel(String inVersionString)
   {
      mVersionString = inVersionString;
      mVersionNum    = Float.parseFloat(mVersionString);
   }

   //--------------------------------------------------------------------------
   public String name()
   {
      return "CSS " + mVersionString;
   }

   //--------------------------------------------------------------------------
   public Float getVersionNum()
   {
      return mVersionNum;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy