org.glite.voms
Class LSCFile

java.lang.Object
  extended by org.glite.voms.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(java.io.File f)
          Loads a *.lsc file from a File
 
Method Summary
 java.util.Vector getDNLists()
          Returns the allowed subject/issuer DN sequences for this file.
 java.lang.String getName()
          Returns the basename of the file from which this was loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSCFile

public LSCFile(java.io.File f)
        throws java.io.IOException
Loads a *.lsc file from a File

Parameters:
f - the file to load from
Throws:
java.io.IOException - if there are problems loading the file.
Method Detail

getName

public java.lang.String getName()
Returns the basename of the file from which this was loaded.

Returns:
the filename, or null if nothing was loaded.

getDNLists

public java.util.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.