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 getField(int i);
21 String getFileHeader();
23 String getLoopData(int i);
25 String getNextDataToken() throws Exception;
27 String getNextToken() throws Exception;
29 String getTokenPeeked();
31 int parseLoopParameters(String[] fields, int[] fieldOf, int[] propertyOf) throws Exception;
33 String peekToken() throws Exception;
37 GenericCifDataParser set(GenericLineReader reader, BufferedReader br);
39 String toUnicode(String data);
41 String skipLoop(boolean doReport) throws Exception;
43 String fixKey(String key);