Class TokenValue

java.lang.Object
com.sun.enterprise.admin.util.TokenValue
All Implemented Interfaces:
Comparable

public final class TokenValue extends Object implements Comparable
Author:
kedar
  • Field Details

    • token

      public final String token
    • value

      public final String value
    • preDelimiter

      public final String preDelimiter
    • postDelimiter

      public final String postDelimiter
    • delimitedToken

      public final String delimitedToken
    • DEFAULT_DELIMITER

      public static final String DEFAULT_DELIMITER
      See Also:
  • Constructor Details

    • TokenValue

      public TokenValue(String token, String value)
      Creates a new instance of TokenValue - with default delimiter. Also note that if the value contains any '\' characters, then these are appended to by another '\' character to work around the Java byte code interpretation. Note that none of the arguments can be null. The value of delimiter is given by DEFAULT_DELIMITER.
      Parameters:
      token - a String that is the name of the token in this TokenValue.
      value - a String that is the value of the token.
      Throws:
      IllegalArgumentException - in case of null values.
      See Also:
    • TokenValue

      public TokenValue(String token, String value, String delimiter)
    • TokenValue

      public TokenValue(String token, String value, String preDelimiter, String postDelimiter)
    • TokenValue

      public TokenValue(TokenValue other)
  • Method Details