org.mmbase.security.implementation.cloudcontext
Class ConvertTool

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

public class ConvertTool
extends 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.3 2005/01/30 16:46:35 nico Exp $
Author:
Michiel Meeuwissen
See Also:
Contexts

Constructor Summary
ConvertTool(Cloud cloud)
           
 
Method Summary
 String getResult()
           
 Document readXml(File file)
          Extends the current configuration with an XML file.
 Document writeXml(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 ClassNotFoundException
Method Detail

getResult

public String getResult()

writeXml

public Document writeXml(File file)
Writes the current configuration to an XML file


readXml

public Document readXml(File file)
                 throws SAXException,
                        IOException
Extends the current configuration with an XML file.

Throws:
SAXException
IOException


MMBase build 1.8.1.20060716