org.apache.ambari.view
Interface Masker


public interface Masker

Masker for view parameters.


Method Summary
 String mask(String value)
          Get a masked version of the given string.
 String unmask(String value)
          Get the original string from a masked string.
 

Method Detail

mask

String mask(String value)
            throws MaskException
Get a masked version of the given string.

Parameters:
value - the value to be masked
Returns:
the masked value
Throws:
MaskException - error happened during masking process

unmask

String unmask(String value)
              throws MaskException
Get the original string from a masked string.

Parameters:
value - the value to be unmasked
Returns:
the unmasked value
Throws:
MaskException - error happened during unmasking process


Copyright © 2015 Apache Software Foundation. All rights reserved.