org.italiangrid.voms.request.impl
Class LegacyVOMSESParserImpl
java.lang.Object
org.italiangrid.voms.request.impl.LegacyVOMSESParserImpl
- All Implemented Interfaces:
- VOMSESParser
public class LegacyVOMSESParserImpl
- extends Object
- implements VOMSESParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyVOMSESParserImpl
public LegacyVOMSESParserImpl()
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 the
Reader
passed as
argument.
- Specified by:
parse
in interface VOMSESParser
- Parameters:
vomsesReader
- the Reader
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 the
File
passed as
argument.
- Specified by:
parse
in interface VOMSESParser
- Parameters:
f
- the File
object where voms contact information can be
read from.
- Returns:
- a
VOMSServerInfo
object containing the VOMS server
contact information.
Copyright © 2013. All Rights Reserved.