Class FieldStringInfo


  • public class FieldStringInfo
    extends java.lang.Object
    A simple data container class that contains a part string that is part of a parent string with the index of the part string into the parent string.
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldStringInfo​(java.lang.String parentString, java.lang.String fieldString, int offset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFieldString()
      The string that exists within the parent string.
      int getOffset()
      The offset of the part string into the parent string
      java.lang.String getParentString()
      The string that contains the field string
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FieldStringInfo

        public FieldStringInfo​(java.lang.String parentString,
                               java.lang.String fieldString,
                               int offset)
        Parameters:
        parentString - The parent string
        fieldString - The part string that exists within the parent
        offset - the offset of the part string into the parent
    • Method Detail

      • getOffset

        public int getOffset()
        The offset of the part string into the parent string
        Returns:
        The offset of the part string into the parent string
      • getParentString

        public java.lang.String getParentString()
        The string that contains the field string
        Returns:
        The string that contains the field string
      • getFieldString

        public java.lang.String getFieldString()
        The string that exists within the parent string.
        Returns:
        The string that exists within the parent string.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object