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 1101 2013-04-01 04:17:32Z run2000 $

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

Method Detail

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.