package javajs.api; import java.io.BufferedReader; import java.util.Map; public interface GenericCifDataParser { static final int NONE = -1; String fullTrim(String str); Map getAllCifData(); boolean getData() throws Exception; String getColumnName(int i); int getColumnCount(); String getFileHeader(); Object peekToken() throws Exception; Object getTokenPeeked(); Object getColumnData(int i); Object getNextDataToken() throws Exception; String getNextToken() throws Exception; void parseDataBlockParameters(String[] fields, String key, String data, int[] key2col, int[] col2key) throws Exception; String readLine(); GenericCifDataParser set(GenericLineReader reader, BufferedReader br, boolean debugging); String toUnicode(String data); String skipLoop(boolean doReport) throws Exception; String fixKey(String key); }