Class EntryInt

java.lang.Object
rife.bld.extension.propertyfile.EntryBase<EntryInt>
rife.bld.extension.propertyfile.EntryInt

public class EntryInt extends EntryBase<EntryInt>
Declares the modifications to be made to an Integer-based property.
Since:
1.0
Author:
Erik C. Thauvin
  • Constructor Details

    • EntryInt

      public EntryInt(String key)
      Creates a new entry.
      Parameters:
      key - the required property key
  • Method Details

    • pattern

      public EntryInt pattern(String pattern)
      Sets the DecimalFormat pattern.
      Parameters:
      pattern - the pattern
    • set

      public EntryInt set(int i)
      Sets the new property value to an integer.
      Parameters:
      i - The integer to set the value to
      Returns:
      this instance