/*************************************** * * * JBoss: The OpenSource J2EE WebOS * * * * Distributable under LGPL license. * * See terms of license at gnu.org. * * * ***************************************/ package org.jboss.util.property; import java.util.Map; import java.io.IOException; /** * Iterface used to allow a PropertyMap to read property definitions * in an implementation independent fashion. * * @version $Revision: 1.1 $ * @author Jason Dillon */ public interface PropertyReader { /** * Read a map of properties from this input source. * * @return Read properties map. * * @throws PropertyException Failed to read properties. * @throws IOException I/O error while reading properties. */ Map readProperties() throws PropertyException, IOException; }