Class Smack

java.lang.Object
org.jivesoftware.smack.Smack

public class Smack extends Object
  • Field Details

  • Constructor Details

    • Smack

      public Smack()
  • Method Details

    • getVersion

      public static String getVersion()
      Returns the Smack version information, e.g."1.3.0".
      Returns:
      the Smack version information.
    • getNoticeStream

      public static InputStream getNoticeStream()
      Get the stream of the NOTICE file of Smack.

      This license of Smack requires that the contents of this NOTICE text file are shown "…within a display generated by the Derivative Works, if and wherever such third-party notices normally appear.".

      Returns:
      the stream of the NOTICE file of Smack.
      Since:
      4.4.0
    • ensureInitialized

      public static void ensureInitialized()