Class VISABUtil
Class containing various, non specific helper methods.
Inheritance
java.lang.Object
VISABUtil
Inherited Members
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Namespace:
Assembly: .dll
Syntax
public final class VISABUtil
Constructors
VISABUtil()
Declaration
public VISABUtil()
Methods
combinePath(String path, String[] more)
Combines path strings to one string
Declaration
public static final String combinePath(String path, String[] more)
Parameters
Type | Name | Description |
---|---|---|
java.lang.String | path | The base path |
java.lang.String[] | more | The paths to add |
Returns
Type | Description |
---|---|
java.lang.String | The combined path |
getAllInterfaces(Class<?> class_)
Recursively gets all implemented interfaces for a class.
Declaration
public static final List<Class<?>> getAllInterfaces(Class<?> class_)
Parameters
Type | Name | Description |
---|---|---|
java.lang.Class<?> | class_ | The class to get the interfaces for. |
Returns
Type | Description |
---|---|
java.util.List<java.lang.Class<?>> | All implemented interfaces |
isRunningFromJar()
This method properly checks from within code, if the application is ran as a jar or not.
Declaration
public static final boolean isRunningFromJar()
Returns
Type | Description |
---|---|
boolean | True if ran from jar |