org.jenkinsci.plugins.envinject.service
Class PropertiesFileService

java.lang.Object
  extended by org.jenkinsci.plugins.envinject.service.PropertiesFileService
All Implemented Interfaces:
Serializable

public class PropertiesFileService
extends Object
implements Serializable

Author:
Gregory Boissinot
See Also:
Serialized Form

Constructor Summary
PropertiesFileService()
           
 
Method Summary
 Map<String,String> getVarsFromPropertiesContent(String fileContent)
          Get a map environment variables from the content
 Map<String,String> getVarsFromPropertiesFilePath(String filePath)
          Get a map environment variables from a properties file path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesFileService

public PropertiesFileService()
Method Detail

getVarsFromPropertiesFilePath

public Map<String,String> getVarsFromPropertiesFilePath(String filePath)
                                                 throws EnvInjectException
Get a map environment variables from a properties file path

Parameters:
filePath -
Returns:
Throws:
EnvInjectException

getVarsFromPropertiesContent

public Map<String,String> getVarsFromPropertiesContent(String fileContent)
                                                throws EnvInjectException
Get a map environment variables from the content

Parameters:
fileContent -
Returns:
Throws:
EnvInjectException


Copyright © 2004-2011. All Rights Reserved.