Searched defs:encoding (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/nio/cs/
H A DTestConverterDroppedCharacters.java50 static void tryEncoding(String encoding) argument
59 System.out.println("Testing " + encoding);
68 OutputStreamWriter ow = new OutputStreamWriter(fout, encoding);
73 /* Now read it back with the same encoding. */
76 InputStreamReader ir = new InputStreamReader(fin, encoding);
83 System.out.println("ERROR with encoding " + encoding
90 System.out.println("Successfully tested " + encoding);
H A DZeroedByteArrayEUCTWTest.java36 public static void test(String encoding) throws Exception { argument
44 result = new String(data, encoding);
H A DCheckCaseInsensitiveEncAliases.java26 @summary Test to validate case insensitivity of encoding alias names
39 // Try various encoding names in mixed cases
40 // Tests subset of encoding names provided within bugID 4216191
87 public static void tryToEncode( String encoding) throws Exception argument
91 byte[] bytes = ENCODE_STRING.getBytes( encoding );
92 System.out.println( "Encoding \"" + encoding + "\" recognized" );
96 throw new Exception("Encoding \"" + encoding + "\" NOT recognized");
H A DDecoderOverflow.java51 static void test(String encoding) throws Exception { argument
53 Charset cs = Charset.forName(encoding);
55 ByteBuffer in = ByteBuffer.wrap(text.getBytes(encoding));
63 " encoding=" + encoding);
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/encoding/
H A DCorbaInputObject.java26 package com.sun.corba.se.spi.encoding ;
28 import com.sun.corba.se.impl.encoding.CDRInputStream ;
29 import com.sun.corba.se.pept.encoding.InputObject ;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DRestorableInputStream.java25 package com.sun.corba.se.impl.encoding;
H A DBufferManagerWriteGrow.java26 package com.sun.corba.se.impl.encoding;
29 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
30 import com.sun.corba.se.impl.encoding.BufferManagerWrite;
31 import com.sun.corba.se.pept.encoding.OutputObject;
H A DBufferManagerWriteStream.java25 package com.sun.corba.se.impl.encoding;
34 import com.sun.corba.se.impl.encoding.BufferManagerWrite;
35 import com.sun.corba.se.impl.encoding.ByteBufferWithInfo;
36 import com.sun.corba.se.impl.encoding.CDROutputObject;
39 import com.sun.corba.se.pept.encoding.OutputObject;
H A DBufferQueue.java25 package com.sun.corba.se.impl.encoding;
H A DCodeSetCache.java25 package com.sun.corba.se.impl.encoding;
H A DEncapsOutputStream.java26 package com.sun.corba.se.impl.encoding;
34 import com.sun.corba.se.impl.encoding.CodeSetConversion;
35 import com.sun.corba.se.impl.encoding.OSFCodeSetRegistry;
36 import com.sun.corba.se.impl.encoding.CDROutputStream;
37 import com.sun.corba.se.impl.encoding.BufferManagerWrite;
38 import com.sun.corba.se.impl.encoding.BufferManagerFactory;
82 // REVISIT. A UTF-16 encoding with GIOP 1.1 will not work
126 // use byte order markers since we're limited to a 2 byte fixed width encoding.
H A DMarkAndResetHandler.java25 package com.sun.corba.se.impl.encoding;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DCStringUtilities.java46 private static String encoding = System.getProperty("file.encoding", "US-ASCII"); field in class:CStringUtilities
77 return new String(bytes, encoding);
79 throw new RuntimeException("Error converting bytes to String using " + encoding + " encoding", e);
/openjdk7/jdk/src/share/classes/com/sun/pept/encoding/
H A DDecoder.java30 package com.sun.pept.encoding;
H A DEncoder.java30 package com.sun.pept.encoding;
/openjdk7/jaxp/src/org/w3c/dom/css/
H A DCSSCharsetRule.java48 * CSS style sheet. The value of the <code>encoding</code> attribute does
49 * not affect the encoding of text data in the DOM objects; this encoding is
51 * <code>encoding</code> attribute is the value found in the
54 * value of the <code>encoding</code> attribute may also be used as a hint
55 * for the encoding used on serialization of the style sheet.
57 * <code>CSSCharsetRule</code>) may not correspond to the encoding the
58 * document actually came in; character encoding information e.g. in an HTTP
66 * The encoding information used in this <code>@charset</code> rule.
70 * The encoding informatio
77 setEncoding(String encoding) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DCodeWriter.java46 * Encoding to be used by the writer. Null means platform specific encoding.
50 protected String encoding = null; field in class:CodeWriter
85 final OutputStreamWriter bw = encoding != null
86 ? new OutputStreamWriter(openBinary(pkg,fileName), encoding)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/policy/
H A DEncodingPrefixMapper.java26 package com.sun.xml.internal.ws.encoding.policy;
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A DTest4625418.java27 * @summary Tests XML <a href="http://download.java.net/jdk6/docs/technotes/guides/intl/encoding.doc.html">encoding</a>
365 private final String encoding; field in class:Test4625418
367 private Test4625418(String encoding) { argument
368 this.encoding = encoding;
373 File file = new File("4625418." + this.encoding + ".xml");
376 XMLEncoder encoder = new XMLEncoder(output, this.encoding, true, 0);
388 throw new Error(this.encoding + " - can't read properly");
393 throw new Error(this.encoding
[all...]
/openjdk7/jdk/test/tools/launcher/
H A DI18NJarTest.java54 private static final String encoding = System.getProperty("sun.jnu.encoding", ""); field in class:I18NJarTest
80 if (encoding.equals("MS932") || encoding.equals("UTF-8")) {
83 ", encoding " + encoding);
85 System.out.println("Warning: current encoding is " + encoding +
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DASReq.java47 public ASReq(DerValue encoding) throws Asn1Exception, KrbException, IOException { argument
48 init(encoding);
51 private void init(DerValue encoding) throws Asn1Exception, IOException, KrbException { argument
52 super.init(encoding, Krb5.KRB_AS_REQ);
H A DPAEncTSEnc.java75 * @param encoding a Der-encoded data.
79 public PAEncTSEnc(DerValue encoding) throws Asn1Exception, IOException { argument
81 if (encoding.getTag() != DerValue.tag_Sequence) {
84 pATimeStamp = KerberosTime.parse(encoding.getData(), (byte)0x00, false);
85 if (encoding.getData().available() > 0) {
86 der = encoding.getData().getDerValue();
92 if (encoding.getData().available() > 0)
H A DTGSReq.java48 public TGSReq(DerValue encoding) throws Asn1Exception, argument
50 init(encoding);
53 private void init(DerValue encoding) throws Asn1Exception, argument
55 init(encoding, Krb5.KRB_TGS_REQ);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLEntityHandler.java93 * @param encoding The auto-detected IANA encoding name of the entity
95 * where the entity encoding is not auto-detected (e.g.
104 String encoding, Augmentations augs) throws XNIException;
102 startEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/pept/encoding/
H A DInputObject.java26 package com.sun.corba.se.pept.encoding;
43 * <p>A particular <em>encoding</em> would subclass

Completed in 83 milliseconds

1234567891011>>