public class Unsafe extends Object
This class is excluded from the check, so methods called via this class will not fail the build.
Modifier and Type | Method and Description |
---|---|
static String |
formatLocalString(String format,
Object... args)
Returns a
String , created from the given format and args,
with the root locale. |
static Calendar |
localCalendar()
Returns a
Calendar with the local time zone and root
locale. |
static void |
notifyAll(Object o)
Calls
Object.notifyAll() . |
static void |
systemExit(int status)
Calls
System.exit(int) . |
static void |
wait(Object o)
Calls
Object.wait() . |
public static void systemExit(int status)
System.exit(int)
.public static void notifyAll(Object o)
Object.notifyAll()
.public static void wait(Object o) throws InterruptedException
Object.wait()
.InterruptedException
public static Calendar localCalendar()
Calendar
with the local time zone and root
locale.public static String formatLocalString(String format, Object... args)
String
, created from the given format and args,
with the root locale. Analog to String.format(String, Object...)
.format
- The format stringargs
- Arguments to be substituted into the format string.Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.