Top Description Fields Constructors Methods
io.vertx.core.impl

public Class Utils

extends Object
Class Inheritance
Imports
io.netty.util.internal.PlatformDependent

Simple generic utility methods and constants
Authors
Juergen Donnerstag, Alain Penders

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final boolean
public static String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true, if running on Linux
isLinux
()

public static boolean

Returns:

true, if running on Windows
isWindows
()

public static <E extends Throwable> void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isLinuxback to summary
private static final boolean isLinux
isWindowsback to summary
private static final boolean isWindows
LINE_SEPARATORback to summary
public static String LINE_SEPARATOR

Constructor Detail

Utilsback to summary
public Utils()

Method Detail

isLinuxback to summary
public static boolean isLinux()
Returns:boolean

true, if running on Linux

isWindowsback to summary
public static boolean isWindows()
Returns:boolean

true, if running on Windows

throwAsUncheckedback to summary
public static <E extends Throwable> void throwAsUnchecked(Throwable t) throws Throwable-:E
Annotations
@SuppressWarnings:unchecked