org.vraptor.webapp
Class ViewsPropertiesReader
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewsPropertiesReader
public ViewsPropertiesReader()
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 managerresource - properties resource
- Returns:
- the new view manager
- Throws:
IOException
Copyright © 2004-2008 VRaptor. All Rights Reserved.