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