Searched defs:charset (Results 1 - 8 of 8) sorted by relevance
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | CharsetMapper.java | 168 String charset = null; 171 charset = map.getProperty(locale.toString()); 172 if (charset != null) 173 return (charset); 176 charset = map.getProperty(locale.getLanguage()); 177 return (charset); 184 * webapp's desired mapping from locale to charset. This method 188 * @param charset The charset to be associated with the locale 190 public void addCharsetMappingFromDeploymentDescriptor(String locale,String charset) { argument [all...] |
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/ |
H A D | LineTokenReplacer.java | 52 import java.nio.charset.Charset; 69 public LineTokenReplacer(TokenValueSet tokens, String charset) { argument 74 this.charsetName = charset; 86 Charset charset = Charset.forName(charsetName); 87 writer = new BufferedWriter(new OutputStreamWriter(outputStream, charset));
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/ |
H A D | WriterOutputStream.java | 46 import java.nio.charset.CharsetDecoder; 47 import java.nio.charset.CodingErrorAction; 48 import java.nio.charset.CoderResult; 49 import java.nio.charset.Charset; 50 import java.nio.charset.UnsupportedCharsetException; 67 public WriterOutputStream(Writer out, Charset charset) { argument 69 decoder = charset.newDecoder();
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | PartItem.java | 67 import java.nio.charset.Charset; 261 * Returns the content charset passed by the agent or <code>null</code> if 264 * @return The content charset passed by the agent or <code>null</code> if 272 return params.get("charset"); 364 * @param charset The charset to use. 371 public String getString(final String charset) argument 373 return new String(get(), RequestUtil.lookupCharset(charset)); 388 String charset = getCharSet(); 389 if (charset [all...] |
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/ |
H A D | LogViewerResource.java | 47 import java.nio.charset.Charset; 95 protected Charset charset; field in class:LogViewerResource 109 @Produces("text/plain;charset=UTF-8") 183 public void initLargeText(final File file, Charset charset, boolean completed) { argument 184 this.charset = charset; 214 return writeLogTo(start, new WriterOutputStream(w, charset));
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/ |
H A D | Utility.java | 55 import java.nio.charset.Charset; 56 import java.nio.charset.CharsetDecoder; 57 import java.nio.charset.CharsetEncoder; 58 import java.nio.charset.CharacterCodingException; 59 import java.nio.charset.UnsupportedCharsetException; 454 * Convert the byte array to char array with respect to given charset. 457 * @param charset null or "" means default charset 460 public static char[] convertByteArrayToCharArray(byte[] byteArray, String charset) argument 470 if (charset [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/ |
H A D | Response.java | 714 * include a charset=ISO-8859-1 component which will also be 850 // Ignore charset if getWriter() has already been called 862 // Check to see if content type contains charset 894 * @param charset String containing the name of the character encoding. 896 public void setCharacterEncoding(String charset) { argument 910 coyoteResponse.setCharacterEncoding(charset); 943 String charset = cm.getCharset( locale ); 944 if ( charset != null ){ 945 coyoteResponse.setCharacterEncoding(charset);
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/ |
H A D | RealmBase.java | 84 import java.nio.charset.CharacterCodingException; 150 * The encoding charset for the digest. 280 * Returns the digest encoding charset. 282 * @return The charset (may be null) for platform default 289 * Sets the digest encoding charset. 291 * @param charset The charset (null for platform default) 293 public void setDigestEncoding(String charset) { argument 294 digestEncoding = charset;
|
Completed in 58 milliseconds