Class LegacyVOMSESParserImpl
- java.lang.Object
-
- org.italiangrid.voms.request.impl.LegacyVOMSESParserImpl
-
- All Implemented Interfaces:
VOMSESParser
public class LegacyVOMSESParserImpl extends java.lang.Object implements VOMSESParser
-
-
Constructor Summary
Constructors Constructor Description LegacyVOMSESParserImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfileSanityChecks(java.io.File f)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.protected java.util.List<VOMSServerInfo>parseDirectory(java.io.File directory)protected VOMSServerInfoparseLine(java.lang.String vomsesLine)
-
-
-
Method Detail
-
fileSanityChecks
protected void fileSanityChecks(java.io.File f)
-
parseLine
protected VOMSServerInfo parseLine(java.lang.String vomsesLine) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
parse
public java.util.List<VOMSServerInfo> parse(java.io.Reader vomsesReader)
Description copied from interface:VOMSESParserParses the VOMS contact information from theReaderpassed as argument.- Specified by:
parsein interfaceVOMSESParser- Parameters:
vomsesReader- theReaderobject where voms contact information can be read from.- Returns:
- a
VOMSServerInfoobject containing the VOMS server contact information.
-
parseDirectory
protected java.util.List<VOMSServerInfo> parseDirectory(java.io.File directory)
-
parse
public java.util.List<VOMSServerInfo> parse(java.io.File f)
Description copied from interface:VOMSESParserParses the VOMS contact information from theFilepassed as argument.- Specified by:
parsein interfaceVOMSESParser- Parameters:
f- theFileobject where voms contact information can be read from.- Returns:
- a
VOMSServerInfoobject containing the VOMS server contact information.
-
-