X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=unused%2Fjavajs%2Fapi%2FGenericCifDataParser.java;fp=unused%2Fjavajs%2Fapi%2FGenericCifDataParser.java;h=81a71f7c9f93e1bc5ad2f22459b4669496c1b8e6;hb=4f30214e8098748469c6a4269ac2ed6c5750e4b0;hp=0000000000000000000000000000000000000000;hpb=9dabc02511e3a334a5749a504f57f69d6c9017bd;p=jalview.git diff --git a/unused/javajs/api/GenericCifDataParser.java b/unused/javajs/api/GenericCifDataParser.java new file mode 100644 index 0000000..81a71f7 --- /dev/null +++ b/unused/javajs/api/GenericCifDataParser.java @@ -0,0 +1,45 @@ +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); + +}