Class SnapUtils


  • public class SnapUtils
    extends java.lang.Object
    Miscellaneous Utility methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean equals​(java.lang.Object obj1, java.lang.Object obj2)
      Returns whether two objects are equal (supports either being null).
      static java.io.InputStream getInputStream​(java.lang.Object aSource)
      Returns an input stream from a File, String path, URL, byte array, InputStream, etc.
      • Methods inherited from class java.lang.Object

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

      • SnapUtils

        public SnapUtils()
    • Method Detail

      • equals

        public static boolean equals​(java.lang.Object obj1,
                                     java.lang.Object obj2)
        Returns whether two objects are equal (supports either being null).
      • getInputStream

        public static java.io.InputStream getInputStream​(java.lang.Object aSource)
        Returns an input stream from a File, String path, URL, byte array, InputStream, etc.