Class AbstractInjectionResource

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int split​(java.lang.String string, int start, java.lang.String stopPattern)
      Returns the index into the supplied string where the end of the specified pattern is located.
      protected java.io.InputStream stream​(java.lang.String string, int start, int end)
      Produces an input stream from the bytes of the specified sub-string.
      • Methods inherited from class java.lang.Object

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

      • AbstractInjectionResource

        public AbstractInjectionResource()
    • Method Detail

      • split

        protected int split​(java.lang.String string,
                            int start,
                            java.lang.String stopPattern)
        Returns the index into the supplied string where the end of the specified pattern is located.
        Parameters:
        string - string to split
        start - index where to start looking for pattern
        stopPattern - optional pattern where to stop
        Returns:
        index where the split should occur
      • stream

        protected java.io.InputStream stream​(java.lang.String string,
                                             int start,
                                             int end)
        Produces an input stream from the bytes of the specified sub-string.
        Parameters:
        string - source string
        start - index where to start stream
        end - index where to end stream
        Returns:
        input stream