gherkin.lexer
Class Encoding
java.lang.Object
gherkin.lexer.Encoding
public class Encoding
- extends Object
Utilities for reading the encoding of a file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCODING
public static final String DEFAULT_ENCODING
- See Also:
- Constant Field Values
Encoding
public Encoding()
readFile
public String readFile(String path)
throws FileNotFoundException,
UnsupportedEncodingException
- Throws:
FileNotFoundException
UnsupportedEncodingException
encoding
public String encoding(String source)
Copyright © 2013. All rights reserved.