/** * Set the environment variables to use. * * @param env the environment variables to use */ @Override public void setEnvironment(Environment env) { m_env = env; try { // causes setSource(File) to be called and // forces the input stream to be reset with a new file // that has environment variables resolved with those // in the new Environment object reset(); } catch (IOException ex) { // we won't complain about it here... } }
/** * Set the environment variables to use. * * @param env the environment variables to use */ @Override public void setEnvironment(Environment env) { m_env = env; try { // causes setSource(File) to be called and // forces the input stream to be reset with a new file // that has environment variables resolved with those // in the new Environment object reset(); } catch (IOException ex) { // we won't complain about it here... } }