org.jvnet.hk2.config
Interface Translator

All Known Implementing Classes:
VariableResolver

public interface Translator

Used to perform string pre-processing on values found in the configuration file.

This hook allows applications to support variable expansions like Ant in the configuration file.

Author:
Kohsuke Kawaguchi

Field Summary
static Translator NOOP
          Translator that does nothing.
 
Method Summary
 java.lang.String translate(java.lang.String str)
           
 

Field Detail

NOOP

static final Translator NOOP
Translator that does nothing.

Method Detail

translate

java.lang.String translate(java.lang.String str)
                           throws TranslationException
Throws:
TranslationException


Copyright © 2009 Sun Microsystems, Inc.. All Rights Reserved.