Class LegacyVOMSESParserImpl
- java.lang.Object
-
- org.italiangrid.voms.request.impl.LegacyVOMSESParserImpl
-
- All Implemented Interfaces:
VOMSESParser
public class LegacyVOMSESParserImpl extends Object implements VOMSESParser
-
-
Constructor Summary
Constructors Constructor Description LegacyVOMSESParserImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fileSanityChecks(File f)
List<VOMSServerInfo>
parse(File f)
Parses the VOMS contact information from theFile
passed as argument.List<VOMSServerInfo>
parse(Reader vomsesReader)
Parses the VOMS contact information from theReader
passed as argument.protected List<VOMSServerInfo>
parseDirectory(File directory)
protected VOMSServerInfo
parseLine(String vomsesLine)
-
-
-
Method Detail
-
fileSanityChecks
protected void fileSanityChecks(File f)
-
parseLine
protected VOMSServerInfo parseLine(String vomsesLine) throws URISyntaxException
- Throws:
URISyntaxException
-
parse
public List<VOMSServerInfo> parse(Reader vomsesReader)
Description copied from interface:VOMSESParser
Parses the VOMS contact information from theReader
passed as argument.- Specified by:
parse
in interfaceVOMSESParser
- Parameters:
vomsesReader
- theReader
object where voms contact information can be read from.- Returns:
- a
VOMSServerInfo
object containing the VOMS server contact information.
-
parseDirectory
protected List<VOMSServerInfo> parseDirectory(File directory)
-
parse
public List<VOMSServerInfo> parse(File f)
Description copied from interface:VOMSESParser
Parses the VOMS contact information from theFile
passed as argument.- Specified by:
parse
in interfaceVOMSESParser
- Parameters:
f
- theFile
object where voms contact information can be read from.- Returns:
- a
VOMSServerInfo
object containing the VOMS server contact information.
-
-