Class Smack


  • public class Smack
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SMACK_PACKAGE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Smack()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void ensureInitialized()  
      static java.io.InputStream getNoticeStream()
      Get the stream of the NOTICE file of Smack.
      static java.lang.String getVersion()
      Returns the Smack version information, eg "1.3.0".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getVersion

        public static java.lang.String getVersion()
        Returns the Smack version information, eg "1.3.0".
        Returns:
        the Smack version information.
      • getNoticeStream

        public static java.io.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