Lines Matching defs:line
35 * until the blank line that indicates end of header. The input stream
53 * exceed the line length limitation for the transport (1000 bytes for
66 * blank line separating the header from the body. Store the
76 // Read header lines until a blank line. It is valid
78 String line;
79 String prevline = null; // the previous header line, as a string
84 //while ((line = lis.readLine()) != null) {
86 line = lis.readLine();
87 if (line != null &&
88 (line.startsWith(" ") || line.startsWith("\t"))) {
95 lineBuffer.append(line);
105 prevline = line;
107 } while (line != null && line.length() > 0);
146 * Add an RFC822 header line to the header store.
147 * If the line starts with a space or tab (a continuation line),
148 * add it to the last header line in the list. <p>
152 * @param line raw RFC822 header line
154 void addHeaderLine(String line) {
156 char c = line.charAt(0);
159 h.line += "\r\n" + line;
161 headers.add(new hdr(line));
163 // line is empty, ignore it
180 String line; // the entire RFC822 header "line"
183 * Constructor that takes a line and splits out
194 line = l;
202 line = n + ": " + v;
206 * Return the "name" part of the header line.
213 * Return the "value" part of the header line.
216 int i = line.indexOf(':');
218 return line;
224 for (j = i + 1; j < line.length(); j++) {
225 char c = line.charAt(j);
231 for (j = i + 1; j < line.length(); j++) {
232 char c = line.charAt(j);
237 return line.substring(j);