gherkin.lexer
Class Encoding

java.lang.Object
  extended by gherkin.lexer.Encoding

public class Encoding
extends Object

Utilities for reading the encoding of a file.


Field Summary
static String DEFAULT_ENCODING
           
 
Constructor Summary
Encoding()
           
 
Method Summary
 String encoding(String source)
           
 String readFile(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING
See Also:
Constant Field Values
Constructor Detail

Encoding

public Encoding()
Method Detail

readFile

public String readFile(String path)
                throws FileNotFoundException,
                       UnsupportedEncodingException
Throws:
FileNotFoundException
UnsupportedEncodingException

encoding

public String encoding(String source)


Copyright © 2013. All rights reserved.