com.sonyericsson.jenkins.plugins.bfa.model
Class FailureReader.InterruptibleCharSequence

java.lang.Object
  extended by 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
FailureReader.InterruptibleCharSequence(CharSequence inner)
          Standard constructor.
 
Method Summary
 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
 

Constructor Detail

FailureReader.InterruptibleCharSequence

public FailureReader.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 interface CharSequence

length

public int length()
Specified by:
length in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object


Copyright © 2004-2014. All Rights Reserved.