Package org.italiangrid.voms.request
Interface VOMSESParser
-
- All Known Implementing Classes:
LegacyVOMSESParserImpl
public interface VOMSESParserA VOMSES file parser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<VOMSServerInfo>parse(java.io.File f)Parses the VOMS contact information from theFilepassed as argument.java.util.List<VOMSServerInfo>parse(java.io.Reader vomsesReader)Parses the VOMS contact information from theReaderpassed as argument.
-
-
-
Method Detail
-
parse
java.util.List<VOMSServerInfo> parse(java.io.Reader vomsesReader)
Parses the VOMS contact information from theReaderpassed as argument.- Parameters:
vomsesReader- theReaderobject where voms contact information can be read from.- Returns:
- a
VOMSServerInfoobject containing the VOMS server contact information. - Throws:
VOMSError- in case of parsing errors
-
parse
java.util.List<VOMSServerInfo> parse(java.io.File f)
Parses the VOMS contact information from theFilepassed as argument.- Parameters:
f- theFileobject where voms contact information can be read from.- Returns:
- a
VOMSServerInfoobject containing the VOMS server contact information. - Throws:
VOMSError- in case of parsing errors
-
-