import org.forester.evoinference.matrix.character.CharacterStateMatrix.BinaryStates;
import org.forester.io.parsers.util.ParserUtils;
import org.forester.io.parsers.util.PhylogenyParserException;
+import org.forester.util.ForesterConstants;
public class NexusBinaryStatesMatrixParser {
- private static final String UTF_8 = "UTF-8";
private Object _nexus_source;
private CharacterStateMatrix<BinaryStates> _matrix;
private int _nchar;
public void parse() throws IOException {
reset();
- final BufferedReader reader = ParserUtils.createReader( getNexusSource(), UTF_8 );
+ final BufferedReader reader = ParserUtils.createReader( getNexusSource(), ForesterConstants.UTF_8 );
String line;
boolean in_matrix = false;
int identifier_index = 0;