Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * $Id: CommonEnvironment.java 22 2009-05-18 17:20:44Z mitcje $
  * $URL: https://ikasaneip.svn.sourceforge.net/svnroot/ikasaneip/tags/ikasan-0.7.3/common/src/main/java/org/ikasan/common/CommonEnvironment.java $
  * 
  * ====================================================================
  * Ikasan Enterprise Integration Platform
  * Copyright (c) 2003-2008 Mizuho International plc. and individual contributors as indicated
  * by the @authors tag. See the copyright.txt in the distribution for a
  * full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the 
 * Free Software Foundation Europe e.V. Talstrasse 110, 40217 Dusseldorf, Germany 
 * or see the FSF site: http://www.fsfeurope.org/.
 * ====================================================================
 */
package org.ikasan.common;

Common environment provides the base interface for all environment access.

Author(s):
Ikasan Development Team
public interface CommonEnvironment
{
    
Expand the Environment Variables given the original string, a start and end marker and a boolean to indicate whether we care about errors or not

Parameters:
originalStr The original string
startMarker The start marker
endMarker The end marker
screamOnError Flag whether to 'scream' on error
Returns:
Expanded Environment Variables
    public String expandEnvVar(String originalStrString startMarkerString endMarkerboolean screamOnError);

    
Expand the Environment Variables given the original string, a start and end marker

Parameters:
originalStr The original string
startMarker The start marker
endMarker The end marker
Returns:
Expanded Environment Variables
    public String expandEnvVar(String originalStrString startMarkerString endMarker);

    
Expand the Environment Variables given the original string and a boolean to indicate whether we care about errors or not

Parameters:
originalStr The original string
screamOnError Flag whether to 'scream' on error
Returns:
Expanded Environment Variables
    public String expandEnvVar(String originalStrboolean screamOnError);

    
Expand the Environment Variables given the original string

Parameters:
originalStr The original string
Returns:
Expanded Environment Variables
    public String expandEnvVar(String originalStr);
New to GrepCode? Check out our FAQ X