Class AccumuloClassLoader


  • public class AccumuloClassLoader
    extends Object
    • Constructor Detail

      • AccumuloClassLoader

        public AccumuloClassLoader()
    • Method Detail

      • getAccumuloString

        public static String getAccumuloString​(String propertyName,
                                               String defaultValue)
        Looks for the site configuration file for Accumulo and if it has a property for propertyName return it otherwise returns defaultValue Should throw an exception if the default configuration can not be read;
        Parameters:
        propertyName - Name of the property to pull
        defaultValue - Value to default to if not found.
        Returns:
        site or default class path String
      • replaceEnvVars

        public static String replaceEnvVars​(String classpath,
                                            Map<String,​String> env)
        Replace environment variables in the classpath string with their actual value