public class PropertyField extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
value |
Constructor and Description |
---|
PropertyField(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
This is the name or key of a custom property in a property template.
|
String |
getValue()
Value of a custom property attached to a file.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public PropertyField(String name, String value)
name
- This is the name or key of a custom property in a property
template. File property names can be up to 256 bytes. Must not be
null
.value
- Value of a custom property attached to a file. Values can
be up to 1024 bytes. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getName()
null
.public String getValue()
null
.public String toStringMultiline()
The returned String may contain newlines.