Package org.apache.calcite.runtime
Class Resources.Inst
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Inst
-
- Direct Known Subclasses:
Resources.ExInstWithCause
- Enclosing class:
- Resources
public static class Resources.Inst extends Resources.Element
Resource instance. It contains the resource method (which serves to identify the resource), the locale with which we expect to render the resource, and any arguments.
-
-
Constructor Summary
Constructors Constructor Description Inst(java.lang.String base, java.util.Locale locale, java.lang.reflect.Method method, java.lang.Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ResourceBundle
bundle()
private int
countQuotesIn(java.lang.String message)
boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.lang.String>
getProperties()
int
hashCode()
Resources.Inst
localize(java.util.Locale locale)
java.lang.String
raw()
java.lang.String
str()
void
validate(java.util.EnumSet<Resources.Validation> validations)
-
Methods inherited from class org.apache.calcite.runtime.Resources.Element
deriveKey
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
bundle
public java.util.ResourceBundle bundle()
-
localize
public Resources.Inst localize(java.util.Locale locale)
-
validate
public void validate(java.util.EnumSet<Resources.Validation> validations)
-
countQuotesIn
private int countQuotesIn(java.lang.String message)
-
str
public java.lang.String str()
-
raw
public java.lang.String raw()
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
-
-