Package org.italiangrid.voms.store
Interface LSCFileParser
-
- All Known Implementing Classes:
DefaultLSCFileParser
public interface LSCFileParser
This interface defines a parser for VOMS LSC files.- Author:
- Andrea Ceccanti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LSCFile
parse(String vo, String hostname, File file)
Parses an LSC file.LSCFile
parse(String vo, String hostname, InputStream is)
Parses an LSC file from a generic input stream.
-
-
-
Method Detail
-
parse
LSCFile parse(String vo, String hostname, InputStream is)
Parses an LSC file from a generic input stream.- Parameters:
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutis
- anInputStream
that contains the LSC information- Returns:
- an
LSCFile
object - Throws:
VOMSError
- in case of parsing errors
-
-