Package org.minidns.util
Class SafeCharSequence
- java.lang.Object
-
- org.minidns.util.SafeCharSequence
-
- All Implemented Interfaces:
java.lang.CharSequence
public class SafeCharSequence extends java.lang.Object implements java.lang.CharSequence
-
-
Constructor Summary
Constructors Constructor Description SafeCharSequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
int
length()
java.lang.CharSequence
subSequence(int start, int end)
java.lang.String
toSafeString()
-
-
-
Constructor Detail
-
SafeCharSequence
public SafeCharSequence()
-
-
Method Detail
-
length
public final int length()
- Specified by:
length
in interfacejava.lang.CharSequence
-
charAt
public final char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
subSequence
public final java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
toSafeString
public java.lang.String toSafeString()
-
-