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