Class SnapUtils
- java.lang.Object
-
- com.inductiveautomation.snap.util.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.
-
-
-
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.
-
-