org.vraptor.webapp
Class ViewsPropertiesReader

java.lang.Object
  extended by org.vraptor.webapp.ViewsPropertiesReader

public class ViewsPropertiesReader
extends Object

Reads a view properties file and gives back a new ViewManager based on the current one.


Constructor Summary
ViewsPropertiesReader()
           
 
Method Summary
 ViewManager overrideViews(ViewManager currentManager, InputStream resource)
          Creates a new view manager which overrides all view properties in the resource with their new values...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewsPropertiesReader

public ViewsPropertiesReader()
Method Detail

overrideViews

public ViewManager overrideViews(ViewManager currentManager,
                                 InputStream resource)
                          throws IOException
Creates a new view manager which overrides all view properties in the resource with their new values... old values will use the current manager's response

Parameters:
currentManager - default manager
resource - properties resource
Returns:
the new view manager
Throws:
IOException


Copyright © 2004-2008 VRaptor. All Rights Reserved.