net.sf.xsltmp.util
Class EncodingUtils

java.lang.Object
  extended by net.sf.xsltmp.util.EncodingUtils

public class EncodingUtils
extends Object

Utility methods for encoding processing.


Constructor Summary
EncodingUtils()
           
 
Method Summary
 String defaultByPlatformEncoding(String encoding, org.apache.maven.plugin.logging.Log log)
          If an encoding is not filled, default it by platform encoding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingUtils

public EncodingUtils()
Method Detail

defaultByPlatformEncoding

public String defaultByPlatformEncoding(String encoding,
                                        org.apache.maven.plugin.logging.Log log)
If an encoding is not filled, default it by platform encoding.

Parameters:
encoding - Current encoding
log - Maven log
Returns:
Encoding defaulted by platform encoding


Copyright © 2008-2011 SEAF. All Rights Reserved.