Searched refs:charset (Results 176 - 200 of 397) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DResolver.java55 * supported, handling <em>charset=...</em> attributes and accepting
151 * an InputSource is desired, such as <em>text/xml;charset=utf-8</em>.
164 String charset = null;
177 // use "charset=..." if it's available
178 index = attributes.indexOf("charset");
196 charset = attributes.trim();
222 if (charset == null) {
226 charset = "US-ASCII";
232 retval = new InputSource(XmlReader.createReader(stream, charset));
234 retval.setEncoding(charset);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimeUtility.java63 * yet a widely used charset, one might want to first charset-encode
64 * the String into another charset and then do the transfer-encoding.
108 * In addition, the <code>mail.mime.charset</code> System property can
109 * be used to specify the default MIME charset to use for encoded words
110 * and text parts that don't otherwise specify a charset. Normally, the
111 * default MIME charset is derived from the default Java charset, as
114 * charset. In cases where the default MIME charset t
450 encodeText(String text, String charset, String encoding) argument
603 encodeWord(String word, String charset, String encoding) argument
616 encodeWord(String string, String charset, String encoding, boolean encodingWord) argument
1049 javaCharset(String charset) argument
1071 mimeCharset(String charset) argument
[all...]
H A DMimeBodyPart.java346 * with <strong>"text/plain; charset=foobar"</strong>. <p>
593 * be encoded using the platform's default charset. If the
597 * Note that if the charset encoding process fails, a
607 * in the exception chain if the charset
620 * be encoded using the specified charset. If the description
624 * Note that if the charset encoding process fails, a
630 * @param charset Charset for encoding
635 * in the exception chain if the charset
638 public void setDescription(String description, String charset) argument
647 MimeUtility.encodeText(description, charset, nul
903 setText(String text, String charset) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/charset/
H A DCharset-X-Coder.java.template28 package java.nio.charset;
36 import java.nio.charset.CoderMalfunctionError; // javadoc
116 * specific charset, which is a concrete subclass of this class, need only
138 private final Charset charset;
187 this.charset = cs;
232 * Returns the charset that created this $coder$. </p>
234 * @return This $coder$'s charset
236 public final Charset charset() {
237 return charset;
313 * bytes in this encoder's charset; tha
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DPrintStream.java30 import java.nio.charset.Charset;
31 import java.nio.charset.IllegalCharsetNameException;
32 import java.nio.charset.UnsupportedCharsetException;
84 * Returns a charset object for the given charset name.
86 * @throws UnsupportedEncodingException if the charset is not supported
108 private PrintStream(boolean autoFlush, OutputStream out, Charset charset) { argument
111 this.charOut = new OutputStreamWriter(this, charset);
115 /* Variant of the private constructor so that the given charset name
118 * charset nam
120 PrintStream(boolean autoFlush, Charset charset, OutputStream out) argument
[all...]
H A DPrintWriter.java31 import java.nio.charset.Charset;
32 import java.nio.charset.IllegalCharsetNameException;
33 import java.nio.charset.UnsupportedCharsetException;
78 * Returns a charset object for the given charset name.
80 * @throws UnsupportedEncodingException if the charset is not supported
161 * java.nio.charset.Charset#defaultCharset() default charset} for this
189 private PrintWriter(Charset charset, File file) argument
192 this(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset)),
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.java33 import java.nio.charset.Charset;
34 import java.nio.charset.StandardCharsets;
104 * <p>The UTF-8 {@link java.nio.charset.Charset charset} is used to
128 * <p>The UTF-8 {@link java.nio.charset.Charset charset} is used to
151 * <p>The UTF-8 {@link java.nio.charset.Charset charset} is used to
175 * @param charset
176 * the {@linkplain java.nio.charset
196 ZipFile(File file, int mode, Charset charset) argument
247 ZipFile(String name, Charset charset) argument
267 ZipFile(File file, Charset charset) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DMessageImpl.java739 return contentType().getParameter("charset");
742 public void setCharset(String charset) { argument
744 ct.setParameter("charset", charset);
828 private void setFinalContentType(String charset) { argument
836 ct.setParameter("charset", charset);
1040 soapPartCtype.setParameter("charset", initCharset());
1110 String charset = null;
1114 charset
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DEncodingInfo.java56 // Is the charset encoder usable or available.
69 * Returns a MIME charset name of this encoding.
124 Object charset = CharsetMethods.fgCharsetForNameMethod.invoke(null, fArgsForMethod);
125 if (((Boolean) CharsetMethods.fgCharsetCanEncodeMethod.invoke(charset, (Object[]) null)).booleanValue()) {
126 fCharsetEncoder = CharsetMethods.fgCharsetNewEncoderMethod.invoke(charset, (Object[]) null);
128 // This charset cannot be used for encoding, don't try it again...
145 // obviously can't use this charset encoder; possibly a JDK bug
194 * Holder of methods from java.nio.charset.Charset and java.nio.charset.CharsetEncoder.
198 // Method: java.nio.charset
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/
H A DSingleByteEncoder.java34 import java.nio.charset.Charset;
35 import java.nio.charset.CharsetEncoder;
36 import java.nio.charset.CoderResult;
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DDBCS_IBM_ASCII_Decoder.java32 import java.nio.charset.Charset;
33 import java.nio.charset.CharsetDecoder;
34 import java.nio.charset.CoderResult;
H A DDBCS_IBM_ASCII_Encoder.java32 import java.nio.charset.Charset;
33 import java.nio.charset.CharsetEncoder;
34 import java.nio.charset.CoderResult;
H A DDBCS_IBM_EBCDIC_Decoder.java32 import java.nio.charset.Charset;
33 import java.nio.charset.CharsetDecoder;
34 import java.nio.charset.CoderResult;
H A DDoubleByteDecoder.java33 import java.nio.charset.Charset;
34 import java.nio.charset.CharsetDecoder;
35 import java.nio.charset.CoderResult;
H A DSimpleEUCDecoder.java37 import java.nio.charset.Charset;
38 import java.nio.charset.CharsetDecoder;
39 import java.nio.charset.CoderResult;
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DAbstractCharsetProvider.java29 import java.nio.charset.Charset;
30 import java.nio.charset.spi.CharsetProvider;
40 * Abstract base class for charset providers.
92 /* Declare support for the given charset
94 protected void charset(String name, String className, String[] aliases) { method in class:AbstractCharsetProvider
133 // Do we even support this charset?
139 // Instantiate the charset and cache it
H A DFastCharsetProvider.java29 import java.nio.charset.Charset;
30 import java.nio.charset.spi.CharsetProvider;
36 * Abstract base class for fast charset providers.
106 // Do we even support this charset?
117 // Instantiate the charset and cache it
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DDoubleByteDecoder.java33 import java.nio.charset.Charset;
34 import java.nio.charset.CharsetDecoder;
35 import java.nio.charset.CoderResult;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/impl/
H A DEnvelopeImpl.java59 String charset = "utf-8"; field in class:EnvelopeImpl
252 charset = value;
266 charset);
270 charset + "\" ?>";
275 OutputStreamWriter writer = new OutputStreamWriter(out, charset);
289 new String[] { charset });
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DStreamSOAPCodec.java59 import java.nio.charset.Charset;
286 String charset = new ContentTypeImpl(contentType).getCharSet();
287 if (charset != null && !Charset.isSupported(charset)) {
288 throw new UnsupportedMediaException(charset);
290 XMLStreamReader reader = XMLStreamReaderFactory.create(null, in, charset, true);
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringCoding.java32 import java.nio.charset.Charset;
33 import java.nio.charset.CharsetDecoder;
34 import java.nio.charset.CharsetEncoder;
35 import java.nio.charset.CharacterCodingException;
36 import java.nio.charset.CoderResult;
37 import java.nio.charset.CodingErrorAction;
38 import java.nio.charset.IllegalCharsetNameException;
39 import java.nio.charset.UnsupportedCharsetException;
114 MessageUtils.err("WARNING: Default charset " + csn +
253 // use charset nam
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DPassword.java30 import java.nio.charset.*;
142 .charset()
/openjdk7/jaxp/src/javax/xml/transform/
H A DTransformerFactory.java236 * @param charset The value of the charset attribute to match. May be null.
252 String charset)
248 getAssociatedStylesheet( Source source, String media, String title, String charset) argument
/openjdk7/jdk/src/macosx/classes/sun/font/
H A DCFontConfiguration.java28 import java.nio.charset.Charset;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DCodeWriter.java32 import java.nio.charset.CharsetEncoder;

Completed in 119 milliseconds

1234567891011>>