Package org.italiangrid.voms.request
Interface VOMSESParser
-
- All Known Implementing Classes:
LegacyVOMSESParserImpl
public interface VOMSESParser
A VOMSES file parser.- Author:
- Andrea Ceccanti
-
-
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 theFile
passed as argument.java.util.List<VOMSServerInfo>
parse(java.io.Reader vomsesReader)
Parses the VOMS contact information from theReader
passed as argument.
-
-
-
Method Detail
-
parse
java.util.List<VOMSServerInfo> parse(java.io.Reader vomsesReader)
Parses the VOMS contact information from theReader
passed as argument.- Parameters:
vomsesReader
- theReader
object where voms contact information can be read from.- Returns:
- a
VOMSServerInfo
object 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 theFile
passed as argument.- Parameters:
f
- theFile
object where voms contact information can be read from.- Returns:
- a
VOMSServerInfo
object containing the VOMS server contact information. - Throws:
VOMSError
- in case of parsing errors
-
-