org.glite.voms
Class LSCFile

java.lang.Object
  extended by org.glite.voms.LSCFile

public class LSCFile
extends Object

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

Author:
Vincenzo Ciaschini.

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSCFile

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

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

getName

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

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

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.


Copyright © 2012. All Rights Reserved.