Package i2p.susi.dns

Class BaseBean

java.lang.Object
i2p.susi.dns.BaseBean
Direct Known Subclasses:
AddressbookBean, ConfigBean, SubscriptionsBean

public class BaseBean extends Object
Holds methods common to several Beans.
Since:
0.9.1
  • Field Details

  • Constructor Details

    • BaseBean

      public BaseBean()
  • Method Details

    • addressbookDir

      protected File addressbookDir()
      Since:
      0.9.13 moved from ConfigBean.addressbookPrefix
    • configFile

      protected File configFile()
      Since:
      0.9.13 moved from ConfigBean.configFileName
    • loadConfig

      protected void loadConfig()
    • reload

      protected void reload()
      Since:
      0.9.13 moved from ConfigBean
    • getTheme

      public String getTheme()
      Returns the theme path
      Since:
      0.9.1
    • getThemes

      public String[] getThemes()
      Get all themes
      Returns:
      String[] -- Array of all the themes found.
      Since:
      0.9.2
    • getAction

      public String getAction()
      Since:
      0.9.13 moved from subclasses
    • setAction

      public void setAction(String action)
      Since:
      0.9.13 moved from subclasses
    • getSerial

      public String getSerial()
      Since:
      0.9.13 moved from subclasses
    • setSerial

      public void setSerial(String serial)
      Since:
      0.9.13 moved from subclasses
    • _t

      protected static String _t(String s)
      Translate
      Since:
      0.9.13 moved from subclasses
    • _t

      protected static String _t(String s, Object o)
      Translate
      Since:
      0.9.13 moved from subclasses
    • _t

      protected static String _t(String s, Object o, Object o2)
      Translate
      Since:
      0.9.13 moved from subclasses
    • ngettext

      protected static String ngettext(String s, String p, int n)
      Translate (ngettext)
      Since:
      0.9.13 moved from subclasses
    • debug

      protected void debug(String msg)
      Since:
      0.9.13 moved from Debug
    • warn

      protected void warn(Throwable t)
      Since:
      0.9.13 moved from Debug