freemarker.template
Interface TextEncoding

All Known Implementing Classes:
FileRetriever, FileTemplateCache, LocalizedFileRetriever

public interface TextEncoding

Determines a character encoding to be used when retrieving a text file.

Version:
$Id: TextEncoding.java 1003 2004-10-16 14:54:58Z run2000 $

Method Summary
 java.lang.String getEncoding()
          Returns the character encoding to be used when reading template files.
 void setEncoding(java.lang.String encoding)
          Sets the character encoding to be used when reading template files.
 

Method Detail

setEncoding

void setEncoding(java.lang.String encoding)
Sets the character encoding to be used when reading template files.

Parameters:
encoding - the name of the encoding to be used; this will be passed to the constructor of InputStreamReader.

getEncoding

java.lang.String getEncoding()
Returns the character encoding to be used when reading template files.

Returns:
the name of the encoding to be used; this will be passed to the constructor of InputStreamReader.