Package org.biojava.nbio.structure.ecod
Class EcodInstallation.EcodParser
- java.lang.Object
-
- org.biojava.nbio.structure.ecod.EcodInstallation.EcodParser
-
- Enclosing class:
- EcodInstallation
public static class EcodInstallation.EcodParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_UNCLASSIFIED
String for unclassified F-groupsstatic String
IS_DOMAIN_ASSEMBLY
Deprecated way of indicating there is an assembly. replaced by the assembly idstatic String
IS_REPRESENTATIVE
Indicates a manual representativestatic String
NOT_DOMAIN_ASSEMBLY
String for single-domain assembliesstatic String
NOT_REPRESENTATIVE
Indicates not a manual representative
-
Constructor Summary
Constructors Constructor Description EcodParser(BufferedReader reader)
EcodParser(File file)
EcodParser(Reader reader)
EcodParser(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EcodDomain>
getDomains()
String
getVersion()
-
-
-
Field Detail
-
F_UNCLASSIFIED
public static final String F_UNCLASSIFIED
String for unclassified F-groups- See Also:
- Constant Field Values
-
NOT_DOMAIN_ASSEMBLY
public static final String NOT_DOMAIN_ASSEMBLY
String for single-domain assemblies- See Also:
- Constant Field Values
-
IS_DOMAIN_ASSEMBLY
public static final String IS_DOMAIN_ASSEMBLY
Deprecated way of indicating there is an assembly. replaced by the assembly id- See Also:
- Constant Field Values
-
IS_REPRESENTATIVE
public static final String IS_REPRESENTATIVE
Indicates a manual representative- See Also:
- Constant Field Values
-
NOT_REPRESENTATIVE
public static final String NOT_REPRESENTATIVE
Indicates not a manual representative- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EcodParser
public EcodParser(String filename) throws IOException
- Throws:
IOException
-
EcodParser
public EcodParser(File file) throws IOException
- Throws:
IOException
-
EcodParser
public EcodParser(Reader reader) throws IOException
- Throws:
IOException
-
EcodParser
public EcodParser(BufferedReader reader) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDomains
public List<EcodDomain> getDomains()
- Returns:
- a list of all EcodDomains
-
getVersion
public String getVersion()
- Returns:
- the requestedVersion for this file, or null if none was parsed
-
-