You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
3.1 KiB
117 lines
3.1 KiB
2 years ago
|
.class public final Lcom/google/common/base/Charsets;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Charsets.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Lcom/google/common/annotations/GwtCompatible;
|
||
|
emulated = true
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final ISO_8859_1:Ljava/nio/charset/Charset;
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Non-UTF-8 Charset"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final US_ASCII:Ljava/nio/charset/Charset;
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Non-UTF-8 Charset"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final UTF_16:Ljava/nio/charset/Charset;
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Non-UTF-8 Charset"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final UTF_16BE:Ljava/nio/charset/Charset;
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Non-UTF-8 Charset"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final UTF_16LE:Ljava/nio/charset/Charset;
|
||
|
.annotation build Lcom/google/common/annotations/GwtIncompatible;
|
||
|
value = "Non-UTF-8 Charset"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public static final UTF_8:Ljava/nio/charset/Charset;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 46
|
||
|
const-string v0, "US-ASCII"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->US_ASCII:Ljava/nio/charset/Charset;
|
||
|
|
||
|
.line 53
|
||
|
const-string v0, "ISO-8859-1"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->ISO_8859_1:Ljava/nio/charset/Charset;
|
||
|
|
||
|
.line 59
|
||
|
const-string v0, "UTF-8"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->UTF_8:Ljava/nio/charset/Charset;
|
||
|
|
||
|
.line 66
|
||
|
const-string v0, "UTF-16BE"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->UTF_16BE:Ljava/nio/charset/Charset;
|
||
|
|
||
|
.line 73
|
||
|
const-string v0, "UTF-16LE"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->UTF_16LE:Ljava/nio/charset/Charset;
|
||
|
|
||
|
.line 81
|
||
|
const-string v0, "UTF-16"
|
||
|
|
||
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Lcom/google/common/base/Charsets;->UTF_16:Ljava/nio/charset/Charset;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 39
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|