ro.isdc.wro.util
Class RegexpProperties
java.lang.Object
ro.isdc.wro.util.RegexpProperties
public class RegexpProperties
- extends Object
Used to overcome the limitation of Properties
class when dealing with regular expressions read from
properties file. The main benefit of using RegexpProperties
over simple Properties
is that the regexp
doesn't have to be escaped.
- Since:
- 1.4.7
- Author:
- Alex Objelean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpProperties
public RegexpProperties()
load
public Properties load(InputStream inputStream)
throws IOException
- Load the properties from the stream. The implementation will handle comments properly by removing them before
properties are loaded.
- Parameters:
inputStream
-
- Returns:
Properties
containing properties parsed from the stream.
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.