org.mevenide.properties
Class PropertyModelFactory

java.lang.Object
  extended byorg.mevenide.properties.PropertyModelFactory

public final class PropertyModelFactory
extends java.lang.Object

Version:
$Id: PropertyModelFactory.java,v 1.12 2004/12/19 21:12:45 mkleint Exp $
Author:
Milos Kleint, Gilles Dodinet

Method Summary
static PropertyModelFactory getFactory()
           
 PropertyModel newPropertyModel(java.io.File file)
          equivalent to newPropertyModel(file, false)
 PropertyModel newPropertyModel(java.io.InputStream stream)
          create a new PropertyModel from the InputStream parameter, will close the stream after usage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static PropertyModelFactory getFactory()

newPropertyModel

public PropertyModel newPropertyModel(java.io.File file)
                               throws java.io.IOException
equivalent to newPropertyModel(file, false)

Returns:
the newly instantiated PropertyModel
Throws:
java.io.IOException

newPropertyModel

public PropertyModel newPropertyModel(java.io.InputStream stream)
                               throws java.io.IOException
create a new PropertyModel from the InputStream parameter, will close the stream after usage.

Throws:
java.io.IOException


Copyright © 2003-2005 The Codehaus. All Rights Reserved.