/**
* @param imageString
*/
private void readString(String imageString) {
// now read each picture and put in the vector;
Lyrics3Image image;
String token;
int offset = 0;
int delim = imageString.indexOf(Lyrics3v2Fields.CRLF);
images = new ArrayList<Lyrics3Image>();
while (delim >= 0) {
token = imageString.substring(offset, delim);
image = new Lyrics3Image("Image", this);
image.setFilename(token);
images.add(image);
offset = delim + Lyrics3v2Fields.CRLF.length();
delim = imageString.indexOf(Lyrics3v2Fields.CRLF, offset);
}
if (offset < imageString.length()) {
token = imageString.substring(offset);
image = new Lyrics3Image("Image", this);
image.setFilename(token);
images.add(image);
}
}