Uses of Class
java.io.UnsupportedEncodingException
| Package | Description |
|---|---|
| com.squareup.okhttp.internal.http | |
| java.io | |
| java.lang | |
| java.net | |
| java.nio.charset | |
| java.util | |
| java.util.logging | |
| org.apache.commons.codec.net |
Network related encoding and decoding.
|
| org.apache.http.client.entity | |
| org.apache.http.entity |
Representations for HTTP message entities.
|
-
Uses of UnsupportedEncodingException in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that throw UnsupportedEncodingException Modifier and Type Method Description byte[]RawHeaders. toBytes()Returns bytes of a request header for sending on an HTTP transport. -
Uses of UnsupportedEncodingException in java.io
Methods in java.io that throw UnsupportedEncodingException Modifier and Type Method Description StringByteArrayOutputStream. toString(String charsetName)Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared incharsetName.Constructors in java.io that throw UnsupportedEncodingException Constructor Description InputStreamReader(InputStream in, String charsetName)Constructs a new InputStreamReader on the InputStreamin.OutputStreamWriter(OutputStream out, String charsetName)Constructs a new OutputStreamWriter usingoutas the target stream to write converted characters to andcharsetNameas the character encoding.PrintStream(File file, String charsetName)Constructs a newPrintStreamwithfileas its target.PrintStream(OutputStream out, boolean autoFlush, String charsetName)Constructs a newPrintStreamwithoutas its target stream and using the character encodingcharsetNamewhile writing.PrintStream(String fileName, String charsetName)Constructs a newPrintStreamwith the file identified byfileNameas its target.PrintWriter(File file, String csn)Constructs a newPrintWriterwithfileas its target.PrintWriter(String fileName, String csn)Constructs a newPrintWriterwith the file identified byfileNameas its target. -
Uses of UnsupportedEncodingException in java.lang
Methods in java.lang that throw UnsupportedEncodingException Modifier and Type Method Description byte[]String. getBytes(String charsetName)Returns a new byte array containing the characters of this string encoded using the named charset.Constructors in java.lang that throw UnsupportedEncodingException Constructor Description String(byte[] data, int offset, int byteCount, String charsetName)Converts the byte array to a string using the named charset.String(byte[] data, String charsetName)Converts the byte array to a string using the named charset. -
Uses of UnsupportedEncodingException in java.net
Methods in java.net that throw UnsupportedEncodingException Modifier and Type Method Description static StringURLDecoder. decode(String s, String charsetName)Decodes the argument which is assumed to be encoded in thex-www-form-urlencodedMIME content type, assuming the givencharsetName.static StringURLEncoder. encode(String s, String charsetName) -
Uses of UnsupportedEncodingException in java.nio.charset
Methods in java.nio.charset that throw UnsupportedEncodingException Modifier and Type Method Description static CharsetCharset. forNameUEE(String charsetName)Equivalent toforNamebut only throwsUnsupportedEncodingException, which is all pre-nio code claims to throw. -
Uses of UnsupportedEncodingException in java.util
Constructors in java.util that throw UnsupportedEncodingException Constructor Description Formatter(File file, String csn)Constructs aFormatterwith the given charset, and whose output is written to the specifiedFile.Formatter(File file, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specifiedFile.Formatter(OutputStream os, String csn)Constructs aFormatterwith the given charset, and whose output is written to the specifiedOutputStream.Formatter(OutputStream os, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specifiedOutputStream.Formatter(String fileName, String csn)Constructs aFormatterwhose output is written to the specified file.Formatter(String fileName, String csn, Locale l)Constructs aFormatterwith the givenLocaleand charset, and whose output is written to the specified file. -
Uses of UnsupportedEncodingException in java.util.logging
Methods in java.util.logging that throw UnsupportedEncodingException Modifier and Type Method Description voidHandler. setEncoding(String charsetName)Sets the character encoding used by this handler,nullindicates a default encoding.voidStreamHandler. setEncoding(String charsetName)Sets the character encoding used by this handler. -
Uses of UnsupportedEncodingException in org.apache.commons.codec.net
Methods in org.apache.commons.codec.net that throw UnsupportedEncodingException Modifier and Type Method Description StringQuotedPrintableCodec. decode(String pString, String charset)Decodes a quoted-printable string into its original form using the specified string charset.StringURLCodec. decode(String pString, String charset)Decodes a URL safe string into its original form using the specified encoding.StringQuotedPrintableCodec. encode(String pString, String charset)Encodes a string into its quoted-printable form using the specified charset.StringURLCodec. encode(String pString, String charset)Encodes a string into its URL safe form using the specified string charset. -
Uses of UnsupportedEncodingException in org.apache.http.client.entity
Constructors in org.apache.http.client.entity that throw UnsupportedEncodingException Constructor Description UrlEncodedFormEntity(List<? extends NameValuePair> parameters)Constructs a newUrlEncodedFormEntitywith the list of parameters with the default encoding ofHTTP.DEFAULT_CONTENT_CHARSETUrlEncodedFormEntity(List<? extends NameValuePair> parameters, String encoding)Constructs a newUrlEncodedFormEntitywith the list of parameters in the specified encoding. -
Uses of UnsupportedEncodingException in org.apache.http.entity
Constructors in org.apache.http.entity that throw UnsupportedEncodingException Constructor Description StringEntity(String s)StringEntity(String s, String charset)