3 import java.io.BufferedReader;
7 public interface GenericCifDataParser {
9 static final int NONE = -1;
11 String fullTrim(String str);
13 Map<String, Object> getAllCifData();
15 boolean getData() throws Exception;
17 String getColumnName(int i);
21 String getFileHeader();
23 Object peekToken() throws Exception;
25 Object getTokenPeeked();
27 Object getColumnData(int i);
29 Object getNextDataToken() throws Exception;
31 String getNextToken() throws Exception;
33 void parseDataBlockParameters(String[] fields, String key, String data, int[] key2col, int[] col2key) throws Exception;
37 GenericCifDataParser set(GenericLineReader reader, BufferedReader br, boolean debugging);
39 String toUnicode(String data);
41 String skipLoop(boolean doReport) throws Exception;
43 String fixKey(String key);