title: Get all the src (or SRC) URLs Java
body: <p>I am trying to get all the src (or SRC) URLs that appear in an array of bytes, however, I do not know how to implement the byte array. The code I have now extracts all parts of the HTML that begin with src= or SRC= and pulls out the correct items. However, how would the byte array play a role in this? The byte array is a sequence of chars that might contain src (or SRC) URLs, initialized from the contents of a URL. Furthermore, the string of vectors that is at the end of this function is supposed to contain all the src attributes found in data. I have a saveResource function that saves a resource in a file, as well as in a byte array which is also shown below. </p>
  
  <p>How do I store the src urls that my program is pulling out into the byte array?</p>