Searched defs:data (Results 1 - 23 of 23) sorted by relevance

/javamail/taglib/src/main/java/demo/
H A DListAttachmentsTEI.java48 public VariableInfo[] getVariableInfo(TagData data) { argument
49 VariableInfo info = new VariableInfo(data.getId(),"AttachmentInfo",
H A DListMessagesTEI.java48 public VariableInfo[] getVariableInfo(TagData data) { argument
49 VariableInfo info = new VariableInfo(data.getId(),"MessageInfo",
H A DMessageTEI.java48 public VariableInfo[] getVariableInfo(TagData data) { argument
49 VariableInfo info = new VariableInfo(data.getId(),"MessageInfo",
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeMultipartParseTest.java64 private static final String data = field in class:MimeMultipartParseTest
120 part[i] = (byte)data.charAt((j + i / 64) % 62);
161 e = (byte)data.charAt((j + k / 64) % 62);
H A DFoldTest.java74 public static Collection<Object[]> data() throws IOException { method in class:FoldTest
82 * Read the data from the test file. Format is multiple of any of
H A DInternetAddressFoldTest.java72 public static Collection<Object[]> data() throws Exception { method in class:InternetAddressFoldTest
80 * Read the data from the test file. Format is:
H A DHeaderTokenizerTest.java83 public static Collection<Object[]> data() throws IOException { method in class:HeaderTokenizerTest
H A DInternetAddressTest.java89 public static Collection<Object[]> data() throws IOException { method in class:InternetAddressTest
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DBODY.java59 private final ByteArray data; field in class:BODY
90 data = r.readByteArray();
94 return data;
98 if (data != null)
99 return data.toByteArrayInputStream();
H A DRFC822DATA.java48 * The RFC822 response data item.
58 private final ByteArray data; field in class:RFC822DATA
83 data = r.readByteArray();
87 return data;
91 if (data != null)
92 return data.toByteArrayInputStream();
H A DIMAPProtocol.java1136 * SELECT Command with QRESYNC data.
1201 * EXAMINE Command with QRESYNC data.
1535 * @param data the message data
1540 Literal data) throws ProtocolException {
1541 appenduid(mbox, f, d, data, false); // ignore return value
1550 * @param data the message data
1551 * @return APPENDUID data
1556 Literal data) throw
1539 append(String mbox, Flags f, Date d, Literal data) argument
1555 appenduid(String mbox, Flags f, Date d, Literal data) argument
1560 appenduid(String mbox, Flags f, Date d, Literal data, boolean uid) argument
[all...]
/javamail/mail/src/main/java/javax/mail/util/
H A DByteArrayDataSource.java58 private byte[] data; // data field in class:ByteArrayDataSource
74 * Create a ByteArrayDataSource with data from the
76 * The InputStream is read completely and the data is
89 this.data = os.getBuf();
96 * it's too much, copy the data into a new buffer and allow the
99 if (this.data.length - this.len > 256*1024) {
100 this.data = os.toByteArray();
101 this.len = this.data.length; // should be the same
107 * Create a ByteArrayDataSource with data fro
113 ByteArrayDataSource(byte[] data, String type) argument
130 ByteArrayDataSource(String data, String type) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/
H A DUUEncoderStream.java111 public void write(byte[] data) throws IOException { argument
112 write(data, 0, data.length);
H A DWriteTimeoutSocket.java194 public void sendUrgentData(int data) throws IOException { argument
195 socket.sendUrgentData(data);
/javamail/mail/src/test/java/com/sun/mail/smtp/
H A DSMTPHandler.java118 data();
190 public void data() throws IOException { method in class:SMTPHandler
/javamail/mail/src/test/java/com/sun/mail/imap/protocol/
H A DUIDSetTest.java60 private TestData data; field in class:UIDSetTest
76 data = t;
81 test(data);
85 public static Collection<TestData[]> data() throws Exception { method in class:UIDSetTest
141 throw new Exception("Bad test data format");
153 throw new Exception("Bad test data format: " + line);
182 throw new Exception("Bad test data format: " + line);
208 * Test the data in the test case.
/javamail/mail/src/test/java/com/sun/mail/util/
H A DUUDecoderStreamTest.java61 private TestData data; field in class:UUDecoderStreamTest
78 data = t;
83 test(data);
87 public static Collection<TestData[]> data() throws Exception { method in class:UUDecoderStreamTest
143 throw new Exception("Bad test data format");
155 throw new Exception("Bad test data format: " + line);
198 * Test the data in the test case.
211 // read all the data with no exception - fail
H A DWriteTimeoutSocketTest.java80 private static final String data = field in class:WriteTimeoutSocketTest
223 final int size = 8192000; // enough data to fill network buffers
232 part[i] = (byte)data.charAt((j + i / 64) % 62);
/javamail/android/activation/src/main/java/com/sun/activation/registries/
H A DMailcapTokenizer.java63 data = inputString;
148 (isWhiteSpaceChar(data.charAt(dataIndex)))) {
154 char c = data.charAt(dataIndex);
194 isStringTokenChar(data.charAt(dataIndex))) {
199 currentTokenValue = data.substring(initialIndex, dataIndex);
210 char c = data.charAt(dataIndex);
220 fixEscapeSequences(data.substring(initialIndex, dataIndex));
286 private String data; field in class:MailcapTokenizer
/javamail/mail/src/test/java/com/sun/mail/imap/
H A DIMAPHandler.java464 * Collect "bytes" worth of data for the message being appended.
468 char[] data = new char[bytes];
469 readFully(reader, data); // read the data and throw it away
470 reader.readLine(); // data followed by a newline
474 * Read data from "r" into "data" until it's full.
476 protected int readFully(Reader r, char[] data) throws IOException { argument
477 int len = data.length;
480 while ((n = r.read(data, of
[all...]
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DProtocol.java54 String data = null; // rest of line after "+OK" or "-ERR" field in class:Response
130 if (enableAPOP && r.data != null) {
131 int challStart = r.data.indexOf('<'); // start of challenge
132 int challEnd = r.data.indexOf('>', challStart); // end of challenge
134 apopChallenge = r.data.substring(challStart, challEnd + 1);
269 String err = r.data != null ? r.data : "USER command failed";
279 return r.data != null ? r.data : "USER command failed";
286 return r.data !
[all...]
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java68 * {@link #mailFrom} and {@link #data} methods can be overridden to
73 * protected OutputStream data() throws MessagingException {
76 * return super.data();
105 // stream where message data is written
1259 this.message.writeTo(data(), ignoreList);
1311 // no reason to keep this data around
1555 * Check whether the data in the given InputStream follows the
2022 * an OutputStream to which the data is to be written.
2028 protected OutputStream data() throws MessagingException { method in class:SMTPTransport
2036 * Terminate the sent data
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java366 * Min byte size for header data. Used for initial arrays sizing.
443 private LogRecord[] data; field in class:MailHandler
655 if (size == data.length && size < capacity) {
659 if (size < data.length) {
660 //assert data.length == matched.length;
662 data[size] = record;
874 if (size == 0 && data.length != 1) {
875 this.data = new LogRecord[1];
876 this.matched = new int[this.data.length];
1792 * @param buf the formatted data
[all...]

Completed in 473 milliseconds