Class PropertyUtils


  • public class PropertyUtils
    extends java.lang.Object
    Static methods to create Properties loaded from various sources.
    Version:
    $Id$
    Author:
    Jason van Zyl, Michal Maczka
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Properties loadProperties​(java.io.File file)  
      static java.util.Properties loadProperties​(java.io.InputStream is)  
      static java.util.Properties loadProperties​(java.net.URL url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyUtils

        public PropertyUtils()
    • Method Detail

      • loadProperties

        public static java.util.Properties loadProperties​(java.net.URL url)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • loadProperties

        public static java.util.Properties loadProperties​(java.io.File file)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • loadProperties

        public static java.util.Properties loadProperties​(java.io.InputStream is)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException