Searched defs:end (Results 1 - 19 of 19) sorted by relevance

/javamail/mail/src/main/java/javax/mail/internet/
H A DSharedInputStream.java74 * up to <code>end</code> (exclusive). <code>start</code> must be
75 * non-negative. If <code>end</code> is -1, the new stream ends
80 * @param end the ending position + 1
83 public InputStream newStream(long start, long end); argument
H A DHeaderTokenizer.java82 * start and end symbols.
87 * Token type indicating end of input.
214 * endOfAtom character is seen, or to the end of the header.
219 * @param endOfAtom if not NUL, character marking end of token
236 * @param endOfAtom if not NUL, character marking end of token
274 * already at end of header
289 // If we're already at end of string, return EOF
327 // Note that the comment start & end markers are ignored.
411 // ran off the end of the string
437 // Trim SPACE, HT, CR and NL from end o
455 filterToken(String s, int start, int end, boolean keepEscapes) argument
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DUIDFolder.java116 * This is a special value that can be used as the <code>end</code>
117 * parameter in <code>getMessagesByUID(start, end)</code>, to denote the
149 * value LASTUID can be used for the <code>end</code> parameter
152 * Note that <code>end</code> need not be greater than <code>start</code>;
159 * @param end end UID
164 public Message[] getMessagesByUID(long start, long end) argument
H A DFolder.java884 * through end, both start and end inclusive. Note that message
893 * <code>(end-start+1)</code> Message objects.
896 * @param end the number of the last message
902 * @exception IndexOutOfBoundsException if the start or end
906 public synchronized Message[] getMessages(int start, int end) argument
908 Message[] msgs = new Message[end - start +1];
909 for (int i = start; i <= end; i++)
1079 * through end, both start and end inclusiv
1109 setFlags(int start, int end, Flags flag, boolean value) argument
[all...]
/javamail/mail/src/main/java/javax/mail/util/
H A DSharedByteArrayInputStream.java98 * up to <code>end</code> (exclusive). <code>start</code> must be
99 * non-negative. If <code>end</code> is -1, the new stream ends
104 * @param end the ending position + 1
107 public InputStream newStream(long start, long end) { argument
110 if (end == -1)
111 end = count - this.start;
113 this.start + (int)start, (int)(end - start));
H A DSharedFileInputStream.java291 * @return the next byte of data, or <code>-1</code> if the end of the
343 * @return the number of bytes read, or <code>-1</code> if the end of
506 * up to <code>end</code> (exclusive). <code>start</code> must be
507 * non-negative. If <code>end</code> is -1, the new stream ends
512 * @param end the ending position + 1
515 public synchronized InputStream newStream(long start, long end) { argument
520 if (end == -1)
521 end = datalen;
523 this.start + start, end - start, bufsize);
/javamail/outlook/src/main/java/
H A DMSBodyPart.java45 private int end; field in class:MSBodyPart
53 public MSBodyPart(byte[] content, int start, int end, argument
57 this.end = end;
85 return new ByteArrayInputStream(content, start, end - start);
H A DMSMessage.java223 static String toString(byte[] b, int start, int end) { argument
224 int size = end - start;
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DMessageSet.java47 * This class holds the 'start' and 'end' for a range of messages.
52 public int end; field in class:MessageSet
56 public MessageSet(int start, int end) { argument
58 this.end = end;
67 return end - start + 1;
89 ms.end = msgs[j-1];
109 int start, end;
113 end = msgsets[i].end;
[all...]
H A DUIDSet.java48 * This class holds the 'start' and 'end' for a range of UIDs.
54 public long end; field in class:UIDSet
58 public UIDSet(long start, long end) { argument
60 this.end = end;
69 return end - start + 1;
93 ms.end = uids[j-1];
127 cur.end = n;
156 long start, end;
160 end
[all...]
H A DIMAPProtocol.java1578 * I use writeString(), the flag_list will end up being
1986 * Get the sequence numbers for UIDs ranging from start till end.
1994 * @param end last UID
1999 public long[] fetchSequenceNumbers(long start, long end) argument
2002 (end == UIDFolder.LASTUID ? "*" :
2003 String.valueOf(end)),
2053 * modseq and with UIDs ranging from start till end.
2057 * @param end last UID
2064 public int[] uidfetchChangedSince(long start, long end, long modseq) argument
2067 (end
2097 fetch(int start, int end, String what) argument
2136 copy(int start, int end, String mbox) argument
2166 copyuid(int start, int end, String mbox) argument
2221 move(int start, int end, String mbox) argument
2255 moveuid(int start, int end, String mbox) argument
2334 storeFlags(int start, int end, Flags flags, boolean set) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/
H A DASCIIUtility.java56 * from <code>start</code> till, but not including <code>end</code>. <p>
62 * @param end the last byte offset
67 public static int parseInt(byte[] b, int start, int end, int radix) argument
79 if (end > start) {
88 if (i < end) {
92 "illegal number: " + toString(b, start, end)
98 while (i < end) {
130 * <code>start</code> till, but not including <code>end</code>.
134 * @param end the last byte offset
138 public static int parseInt(byte[] b, int start, int end) argument
157 parseLong(byte[] b, int start, int end, int radix) argument
228 parseLong(byte[] b, int start, int end) argument
243 toString(byte[] b, int start, int end) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DAppendStream.java58 private long end; field in class:AppendStream
80 end = tf.updateLength();
85 return tf.newStream(start, end);
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/
H A DGmailProtocol.java154 * @param end the last message number
160 public void storeLabels(int start, int end, String[] labels, boolean set) argument
162 storeLabels(String.valueOf(start) + ":" + String.valueOf(end),
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DTempFile.java80 public InputStream newStream(long start, long end) { argument
81 return sf.newStream(start, end);
174 private long end; field in class:AppendStream
196 end = tf.updateLength();
201 return tf.newStream(start, end);
H A DMboxFolder.java85 public long end; // offset in temp file of end of this message field in class:MboxFolder.MessageMetadata
619 pos.println(); // make sure there's a blank line at the end
719 start = ((MessageMetadata)messages.get(index - 1)).end;
720 long end = ((MessageMetadata)messages.get(index)).end;
721 return temp.newStream(start, end);
888 throw new EOFException("end of mailbox");
1092 if (++p_index >= p_len) // % at end of pattern
1104 if (++p_index >= p_len) // end o
[all...]
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailFolder.java168 * @param end last message number
174 public synchronized void setLabels(int start, int end, argument
178 Message[] msgs = new Message[end - start + 1];
180 for (int n = start; n <= end; n++)
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeMultipartPropertyTest.java182 * If "end" is true, include the end boundary.
185 boolean end) throws MessagingException {
201 (end ? "--" + actual + "--\n" : "");
184 createMessage(String param, String actual, boolean end) argument
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPFolder.java405 * If name has one separator, and it's at the end,
1393 public synchronized void setFlags(int start, int end, argument
1396 Message[] msgs = new Message[end - start + 1];
1398 for (int n = start; n <= end; n++)
2559 public synchronized Message[] getMessagesByUID(long start, long end) argument
2571 long[] ua = getProtocol().fetchSequenceNumbers(start, end);
2748 * @param end the last message number
2756 long start, long end, long modseq)
2767 int[] nums = p.uidfetchChangedSince(start, end, modseq);
2755 getMessagesByUIDChangedSince( long start, long end, long modseq) argument

Completed in 82 milliseconds