public static void exports ( Media groupsConfig , Iterable < TileGroup > groups ) { Check . notNull ( groupsConfig ) ; Check . notNull ( groups ) ; final Xml nodeGroups = new Xml ( NODE_GROUPS ) ; nodeGroups . writeString ( Constant . XML_HEADER , Constant . ENGINE_WEBSITE ) ; for ( final TileGroup group : groups ) { exportGroup ( nodeGroups , group ) ; } nodeGroups . save ( groupsConfig ) ; }
Export groups to configuration file .