Package org.intermine.metadata
Class StringUtil.LineWrappedString
- java.lang.Object
-
- org.intermine.metadata.StringUtil.LineWrappedString
-
- Enclosing class:
- StringUtil
public static class StringUtil.LineWrappedString extends java.lang.ObjectClass for returning multiple values from the wrapLines method.
-
-
Constructor Summary
Constructors Constructor Description LineWrappedString(java.lang.String wrapped, boolean truncated)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetString()Returns the wrapped String.inthashCode()booleanisTruncated()Returns whether the String had to be truncated.
-
-
-
Method Detail
-
getString
public java.lang.String getString()
Returns the wrapped String.- Returns:
- a String
-
isTruncated
public boolean isTruncated()
Returns whether the String had to be truncated.- Returns:
- a boolean
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-