Package com.dropbox.core.v2.files
Class HighlightSpan
java.lang.Object
com.dropbox.core.v2.files.HighlightSpan
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
highlightStr
-
isHighlighted
protected final boolean isHighlighted
-
-
Constructor Details
-
HighlightSpan
- Parameters:
highlightStr- String to be determined whether it should be highlighted or not. Must not benull.isHighlighted- The string should be highlighted or not.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getHighlightStr
String to be determined whether it should be highlighted or not.- Returns:
- value for this field, never
null.
-
getIsHighlighted
public boolean getIsHighlighted()The string should be highlighted or not.- Returns:
- value for this field.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-