Package org.codehaus.plexus.redback.users.jdo.io.stax

Examples of org.codehaus.plexus.redback.users.jdo.io.stax.UsersManagementStaxWriter


        throws IOException, XMLStreamException
    {
        UserDatabase database = new UserDatabase();
        database.setUsers( manager.getUsers() );

        UsersManagementStaxWriter writer = new UsersManagementStaxWriter();
        FileWriter fileWriter = new FileWriter( new File( backupDirectory, USERS_XML_NAME ) );
        try
        {
            writer.write( fileWriter, database );
        }
        finally
        {
            IOUtil.close( fileWriter );
        }
View Full Code Here

TOP

Related Classes of org.codehaus.plexus.redback.users.jdo.io.stax.UsersManagementStaxWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.