public class LegacyVOMSESParserImpl extends java.lang.Object implements VOMSESParser
| Modifier and Type | Field and Description |
|---|---|
private VOMSESLineParser |
lineParser |
| Constructor and Description |
|---|
LegacyVOMSESParserImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fileSanityChecks(java.io.File f) |
java.util.List<VOMSServerInfo> |
parse(java.io.File f)
Parses the VOMS contact information from the
File passed as
argument. |
java.util.List<VOMSServerInfo> |
parse(java.io.Reader vomsesReader)
Parses the VOMS contact information from the
Reader passed as
argument. |
protected java.util.List<VOMSServerInfo> |
parseDirectory(java.io.File directory) |
protected VOMSServerInfo |
parseLine(java.lang.String vomsesLine) |
private final VOMSESLineParser lineParser
protected void fileSanityChecks(java.io.File f)
protected VOMSServerInfo parseLine(java.lang.String vomsesLine) throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic java.util.List<VOMSServerInfo> parse(java.io.Reader vomsesReader)
VOMSESParserReader passed as
argument.parse in interface VOMSESParservomsesReader - the Reader object where voms contact information can be
read from.VOMSServerInfo object containing the VOMS server contact
information.protected java.util.List<VOMSServerInfo> parseDirectory(java.io.File directory)
public java.util.List<VOMSServerInfo> parse(java.io.File f)
VOMSESParserFile passed as
argument.parse in interface VOMSESParserf - the File object where voms contact information can be read
from.VOMSServerInfo object containing the VOMS server contact
information.