org.mmbase.security.implementation.cloudcontext
Class ConvertTool

java.lang.Object
  extended byorg.mmbase.security.implementation.cloudcontext.ConvertTool

public class ConvertTool
extends java.lang.Object

A tool to convert between 'cloud' context security and 'xml' context security. Used in /mmbase/security/admin/

Since:
MMBase-1.7
Version:
$Id: ConvertTool.java,v 1.1 2004/02/24 21:02:49 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Contexts

Constructor Summary
ConvertTool(Cloud cloud)
           
 
Method Summary
 java.lang.String getResult()
           
 org.w3c.dom.Document readXml(java.io.File file)
          Extends the current configuration with an XML file.
 org.w3c.dom.Document writeXml(java.io.File file)
          Writes the current configuration to an XML file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertTool

public ConvertTool(Cloud cloud)
            throws java.lang.ClassNotFoundException
Method Detail

getResult

public java.lang.String getResult()

writeXml

public org.w3c.dom.Document writeXml(java.io.File file)
Writes the current configuration to an XML file


readXml

public org.w3c.dom.Document readXml(java.io.File file)
                             throws org.xml.sax.SAXException,
                                    java.io.IOException
Extends the current configuration with an XML file.

Throws:
org.xml.sax.SAXException
java.io.IOException


MMBase build 1.7.1.20041002