org.italiangrid.voms.store.impl
Class DefaultLSCFileParser
java.lang.Object
org.italiangrid.voms.store.impl.DefaultLSCFileParser
- All Implemented Interfaces:
- LSCFileParser
public class DefaultLSCFileParser
- extends Object
- implements LSCFileParser
The default implementation for the LSC file parser.
- Author:
- Andrea Ceccanti
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_LINE_REGEX
public static final String EMPTY_LINE_REGEX
- See Also:
- Constant Field Values
DefaultLSCFileParser
public DefaultLSCFileParser()
parse
public LSCFile parse(String vo,
String hostname,
String filename)
parse
public LSCFile parse(String vo,
String hostname,
InputStream is)
- Description copied from interface:
LSCFileParser
- Parses an LSC file from a generic input stream.
- Specified by:
parse
in interface LSCFileParser
- Parameters:
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 information
- Returns:
- an
LSCFile
object
parse
public LSCFile parse(String vo,
String hostname,
File file)
- Description copied from interface:
LSCFileParser
- Parses an LSC file.
- Specified by:
parse
in interface LSCFileParser
- Parameters:
vo
- the name of the VO this LSC file is abouthostname
- the name of host this LSC file is aboutfile
- the LSC file
- Returns:
- an
LSCFile
object
Copyright © 2013. All Rights Reserved.