Class FailureReader.InterruptibleCharSequence
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.model.FailureReader.InterruptibleCharSequence
- All Implemented Interfaces:
CharSequence
- Enclosing class:
- FailureReader
CharSequence that notices thread interrupts -- as might be necessary
to recover from a loose regex on unexpected challenging input.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) intlength()subSequence(int start, int end) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
InterruptibleCharSequence
Standard constructor.- Parameters:
inner- the CharSequence to be able to interrupt.
-
-
Method Details
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-