Class AbstractInjectionResource

    • Constructor Detail

      • AbstractInjectionResource

        public AbstractInjectionResource()
    • Method Detail

      • split

        protected int split​(String string,
                            int start,
                            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 InputStream stream​(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