org.glite.voms

Class LSCFile


public class LSCFile
extends java.lang.Object

The job of this class is to represent a *.lsc file in the vomsdir directory.

Constructor Summary

LSCFile(File f)
Loads a *.lsc file from a File

Method Summary

Vector
getDNLists()
Returns the allowed subject/issuer DN sequences for this file.
String
getName()
Returns the basename of the file from which this was loaded.

Constructor Details

LSCFile

public LSCFile(File f)
            throws IOException
Loads a *.lsc file from a File
Parameters:
f - the file to load from

Method Details

getDNLists

public Vector getDNLists()
Returns the allowed subject/issuer DN sequences for this file.
Returns:
a vector whose elements are vectors of strings describing the exact sequences.

getName

public String getName()
Returns the basename of the file from which this was loaded.
Returns:
the filename, or null if nothing was loaded.