org.italiangrid.voms.store.impl
public class DefaultLSCFileParser extends Object implements LSCFileParser
Modifier and Type | Field and Description |
---|---|
static String |
EMPTY_LINE_REGEX |
static String |
MALFORMED_LSC_FILE_ERROR_TEMPLATE |
Constructor and Description |
---|
DefaultLSCFileParser() |
Modifier and Type | Method and 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.
|
LSCFile |
parse(String vo,
String hostname,
String filename) |
public static final String EMPTY_LINE_REGEX
public static final String MALFORMED_LSC_FILE_ERROR_TEMPLATE
public LSCFile parse(String vo, String hostname, InputStream is)
LSCFileParser
parse
in interface LSCFileParser
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutis
- an InputStream
that contains the LSC informationLSCFile
objectpublic LSCFile parse(String vo, String hostname, File file)
LSCFileParser
parse
in interface LSCFileParser
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutfile
- the LSC fileLSCFile
objectCopyright © 2014. All rights reserved.