JAL-1807 Bob's first commit -- Applet loaded; needs image
[jalview.git] / src / javajs / api / GenericCifDataParser.java
1 package javajs.api;
2
3 import java.io.BufferedReader;
4 import java.util.Map;
5
6
7 public interface GenericCifDataParser {
8
9   static final int NONE = -1;
10
11   String fullTrim(String str);
12
13   Map<String, Object> getAllCifData();
14
15   boolean getData() throws Exception;
16
17   String getField(int i);
18
19   int getFieldCount();
20
21   String getFileHeader();
22
23   String getLoopData(int i);
24
25   String getNextDataToken() throws Exception;
26
27   String getNextToken() throws Exception;
28
29   String getTokenPeeked();
30
31   int parseLoopParameters(String[] fields, int[] fieldOf, int[] propertyOf) throws Exception;
32
33   String peekToken() throws Exception;
34
35   String readLine();
36
37   GenericCifDataParser set(GenericLineReader reader, BufferedReader br);
38
39   String toUnicode(String data);
40
41   String skipLoop(boolean doReport) throws Exception;
42
43   String fixKey(String key);
44
45 }