MCPcopy Index your code
hub / github.com/apache/tomcat / getText

Method getText

java/org/apache/jasper/compiler/JspReader.java:219–229  ·  view source on GitHub ↗
(Mark start, Mark stop)

Source from the content-addressed store, hash-verified

217 }
218
219 String getText(Mark start, Mark stop) {
220 Mark oldstart = mark();
221 reset(start);
222 CharArrayWriter caw = new CharArrayWriter();
223 while (!markEquals(stop)) {
224 caw.write(nextChar());
225 }
226 caw.close();
227 setCurrent(oldstart);
228 return caw.toString();
229 }
230
231 /**
232 * Read ahead one character without moving the cursor.

Callers

nothing calls this directly

Calls 8

markMethod · 0.95
resetMethod · 0.95
markEqualsMethod · 0.95
nextCharMethod · 0.95
setCurrentMethod · 0.95
writeMethod · 0.65
closeMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected