1 package org.robolectric.android.fakes;
2 
3 import java.nio.charset.Charset;
4 
5 @SuppressWarnings("UnusedDeclaration") // needed for android.net.Uri
6 public class RoboCharsets {
7   /**
8    * A cheap and type-safe constant for the ISO-8859-1 Charset.
9    */
10   public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
11 
12   /**
13    * A cheap and type-safe constant for the US-ASCII Charset.
14    */
15   public static final Charset US_ASCII = Charset.forName("US-ASCII");
16 
17   /**
18    * A cheap and type-safe constant for the UTF-8 Charset.
19    */
20   public static final Charset UTF_8 = Charset.forName("UTF-8");
21 }
22