1 /* 2 * Copyright 2001-2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.apache.commons.codec.net; 18 19 /** 20 * String encodings used in this package. 21 * 22 * @author Apache Software Foundation 23 * @since 1.3 24 * @version $Id: StringEncodings.java,v 1.2 2004/04/09 22:21:07 ggregory Exp $ 25 * 26 * @deprecated Please use {@link java.net.URL#openConnection} instead. 27 * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 28 * for further details. 29 */ 30 @Deprecated 31 interface StringEncodings { 32 /** 33 * <p> 34 * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. 35 * </p> 36 * <p> 37 * Every implementation of the Java platform is required to support this character encoding. 38 * </p> 39 * 40 * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character 41 * encoding names</a> 42 */ 43 String US_ASCII = "US-ASCII"; 44 45 /** 46 * <p> 47 * Eight-bit Unicode Transformation Format. 48 * </p> 49 * <p> 50 * Every implementation of the Java platform is required to support this character encoding. 51 * </p> 52 * 53 * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character 54 * encoding names</a> 55 */ 56 String UTF8 = "UTF-8"; 57 } 58