return p;
int loop; String key; StringBuffer value; Properties fixed = new Properties(); Enumeration keyIt = props.keys(); while (keyIt.hasMoreElements()) { key = (String) keyIt.nextElement(); value = new StringBuffer( props.getProperty(key) ); for (loop = value.length() - 1; loop >= 0; loop--) { if(!Character.isWhitespace( value.charAt( loop ) )) break; }  value.setLength( loop + 1 ); fixed.setProperty( key, value.toString() ); }  return fixed;
    private Properties loadProperties()        throws Exception    {        Properties p = new Properties();        FileInputStream fis = new FileInputStream(m_scenFile);        p.load(fis);        fis.close();        return p;    }