CurrentThreadSettings
遗产: java.lang.Object
public class CurrentThreadSettings
此类有助于为 Aspose.Words 应用程序设置线程隔离的区域设置和时区。
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getLocale() | 返回当前 Aspose.Words 线程使用的 java.util.Locale。 |
| getTimeZone() | 返回当前 Aspose.Words 线程使用的 java.util.TimeZone。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setLocale(String localeName) | 使用语言环境名称为当前 Aspose.Words 线程设置 java.util.Locale。 |
| setLocale(Locale locale) | 为当前 Aspose.Words 线程设置 java.util.Locale。 |
| setTimeZone(TimeZone timeZone) | 为当前 Aspose.Words 线程设置 java.util.TimeZone。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getLocale()
public static Locale getLocale()
返回当前 Aspose.Words 线程使用的 java.util.Locale。
退货: java.util.Locale
getTimeZone()
public static TimeZone getTimeZone()
返回当前 Aspose.Words 线程使用的 java.util.TimeZone。
退货: java.util.TimeZone
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setLocale(String localeName)
public static void setLocale(String localeName)
使用语言环境名称为当前 Aspose.Words 线程设置 java.util.Locale。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| localeName | java.lang.String |
setLocale(Locale locale)
public static void setLocale(Locale locale)
为当前 Aspose.Words 线程设置 java.util.Locale。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| locale | java.util.Locale |
setTimeZone(TimeZone timeZone)
public static void setTimeZone(TimeZone timeZone)
为当前 Aspose.Words 线程设置 java.util.TimeZone。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| timeZone | java.util.TimeZone |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |