com.rapidminer.tools.io
Class Encoding

java.lang.Object
  extended by com.rapidminer.tools.io.Encoding

public class Encoding
extends java.lang.Object

Collection of static helper methods to add and evaluate parameters to specify an encoding.

Author:
Sebastian Land

Field Summary
static java.lang.String[] CHARSETS
           
static java.lang.String PARAMETER_ENCODING
           
 
Constructor Summary
Encoding()
           
 
Method Summary
static java.nio.charset.Charset getEncoding(Operator handler)
           
static java.nio.charset.Charset getEncoding(java.lang.String charsetName)
           
static java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_ENCODING

public static final java.lang.String PARAMETER_ENCODING
See Also:
Constant Field Values

CHARSETS

public static final java.lang.String[] CHARSETS
Constructor Detail

Encoding

public Encoding()
Method Detail

getEncoding

public static java.nio.charset.Charset getEncoding(Operator handler)
                                            throws UndefinedParameterError,
                                                   UserError
Throws:
UndefinedParameterError
UserError

getEncoding

public static java.nio.charset.Charset getEncoding(java.lang.String charsetName)

getParameterTypes

public static java.util.List<ParameterType> getParameterTypes(ParameterHandler handler)


Copyright © 2001-2009 by Rapid-I