public final class NVPair
extends java.lang.Object
Title: Framework Support Library
Description: This class holds a Name/Value pair of strings.
Copyright: Copyright (c) 2012
Company: StreamScape Technologies
Constructor and Description |
---|
NVPair(NVPair p)
Creates a copy of a given name/value pair.
|
NVPair(java.lang.String name,
java.lang.String value)
Creates a new name/value pair and initializes it to the
specified name and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getValue()
Get the value.
|
java.lang.String |
toString()
Produces a string containing the name and value of this instance.
|
public NVPair(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic NVPair(NVPair p)
p
- the name/value pair to copypublic final java.lang.String getName()
public final java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.