Top Description Fields Constructors Methods
org.postgresql.util

public Class GT

extends Object
Class Inheritance
Imports
org.checkerframework.checker.nullness.qual.Nullable, org.checkerframework.dataflow.qual.Pure, java.text.MessageFormat, java.util.Locale, .MissingResourceException, .ResourceBundle

This class provides a wrapper around a gettext message catalog that can provide a localized version of error messages. The caller provides a message String in the standard java.text.MessageFormat syntax and any arguments it may need. The returned String is the localized version if available or the original if not.

Field Summary

Modifier and TypeField and Description
private static final GT
private @Nullable ResourceBundle
private static final Object[]

Constructor Summary

AccessConstructor and Description
private
GT()

Method Summary

Modifier and TypeMethod and Description
public static String
tr(String message, @Nullable Object... args)

private String
translate(String message, @Nullable Object[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_gtback to summary
private static final GT _gt
bundleback to summary
private @Nullable ResourceBundle bundle
noargsback to summary
private static final Object[] noargs

Constructor Detail

GTback to summary
private GT()

Method Detail

trback to summary
public static String tr(String message, @Nullable Object... args)
Annotations
@Pure
translateback to summary
private String translate(String message, @Nullable Object[] args)