You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ri...@apache.org on 2006/07/14 12:02:29 UTC
svn commit: r421852 [1/15] - in /geronimo/specs/trunk: ./
geronimo-spec-j2ee/ geronimo-spec-javamail-1.3.1/
geronimo-spec-javamail-1.3.1/src/ geronimo-spec-javamail-1.4/
geronimo-spec-javamail-1.4/src/ geronimo-spec-javamail-1.4/src/main/
geronimo-spec...
Author: rickmcguire
Date: Fri Jul 14 03:02:19 2006
New Revision: 421852
URL: http://svn.apache.org/viewvc?rev=421852&view=rev
Log:
GERONIMO-2148 Add javamail 1.4 to geronimo specs
Added:
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/
- copied from r416657, geronimo/specs/trunk/geronimo-spec-javamail/
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/LICENSE.txt
- copied unchanged from r421843, geronimo/specs/trunk/geronimo-spec-javamail/LICENSE.txt
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/NOTICE.txt
- copied unchanged from r421843, geronimo/specs/trunk/geronimo-spec-javamail/NOTICE.txt
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/README.txt
- copied unchanged from r421843, geronimo/specs/trunk/geronimo-spec-javamail/README.txt
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/pom.xml
- copied, changed from r421843, geronimo/specs/trunk/geronimo-spec-javamail/pom.xml
geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/src/
- copied from r421843, geronimo/specs/trunk/geronimo-spec-javamail/src/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Folder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FolderClosedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FolderNotFoundException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Header.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/IllegalWriteException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Message.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MessageAware.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MessageContext.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MessageRemovedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MessagingException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MethodNotSupportedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Multipart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/MultipartDataSource.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/NoSuchProviderException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Part.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/PasswordAuthentication.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Provider.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Quota.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/QuotaAwareStore.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/ReadOnlyFolderException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/SendFailedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Service.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Session.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Store.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/StoreClosedException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Transport.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/UIDFolder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/URLName.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/ConnectionAdapter.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/ConnectionEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/ConnectionListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/FolderAdapter.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/FolderEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/FolderListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MailEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MessageChangedEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MessageChangedListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MessageCountAdapter.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MessageCountEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/MessageCountListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/StoreEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/StoreListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/TransportAdapter.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/TransportEvent.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/event/TransportListener.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/AddressException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/AddressParser.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/ContentDisposition.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/ContentType.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/HeaderTokenizer.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/InternetAddress.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/InternetHeaders.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MailDateFormat.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimeBodyPart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimeMessage.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimeMultipart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimePart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimePartDataSource.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/MimeUtility.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/NewsAddress.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/ParameterList.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/ParseException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/PreencodedMimeBodyPart.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/internet/SharedInputStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/AddressStringTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/AddressTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/AndTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/BodyTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/ComparisonTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/DateTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/FlagTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/FromStringTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/FromTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/HeaderTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/IntegerComparisonTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/MessageIDTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/MessageNumberTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/NotTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/OrTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/ReceivedDateTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/RecipientStringTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/RecipientTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/SearchException.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/SearchTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/SentDateTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/SizeTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/StringTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/search/SubjectTerm.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/util/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/util/ByteArrayDataSource.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/util/SharedByteArrayInputStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/util/SharedFileInputStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/HtmlHandler.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/MessageHandler.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/MultipartHandler.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/TextHandler.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/handlers/XMLHandler.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/ASCIIUtil.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Base64.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Base64DecoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Base64Encoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Base64EncoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Encoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/Hex.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/HexEncoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/QuotedPrintable.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/QuotedPrintableDecoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/QuotedPrintableEncoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/QuotedPrintableEncoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/RFC2231Encoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/SessionUtil.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/StringBufferOutputStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/UUDecoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/UUEncode.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/UUEncoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/UUEncoderStream.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/XText.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/org/apache/geronimo/mail/util/XTextEncoder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/resources/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/resources/META-INF/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/resources/META-INF/default.address.map
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/resources/META-INF/javamail.charset.map
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/resources/META-INF/mailcap
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/AllTests.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/FlagsTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/HeaderTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/MessageContextTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/MessagingExceptionTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/PasswordAuthenticationTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/QuotaTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/SessionTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/SimpleFolder.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/SimpleTextMessage.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/TestData.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/URLNameTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/AllEventTests.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/ConnectionEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/FolderEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/MessageChangedEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/MessageCountEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/StoreEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/event/TransportEventTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/AllInternetTests.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/ContentDispositionTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/ContentTypeTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/HeaderTokenizerTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/InternetAddressTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/InternetHeadersTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MailDateFormatTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeBodyPartTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeMessageTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeMultipartTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeUtilityTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/NewsAddressTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/ParameterListTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/PreencodedMimeBodyPartTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/util/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/util/ByteArrayDataSourceTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/util/SharedByteArrayInputStreamTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/java/javax/mail/util/SharedFileInputStreamTest.java (with props)
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/resources/
geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/test/resources/test.dat
Removed:
geronimo/specs/trunk/geronimo-spec-javamail/
Modified:
geronimo/specs/trunk/geronimo-spec-j2ee/project.xml
geronimo/specs/trunk/pom.xml
Modified: geronimo/specs/trunk/geronimo-spec-j2ee/project.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-j2ee/project.xml?rev=421852&r1=421851&r2=421852&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-j2ee/project.xml (original)
+++ geronimo/specs/trunk/geronimo-spec-j2ee/project.xml Fri Jul 14 03:02:19 2006
@@ -29,7 +29,7 @@
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
- <artifactId>geronimo-spec-javamail</artifactId>
+ <artifactId>geronimo-spec-javamail-1.3.1</artifactId>
</dependency>
<dependency>
<groupId>geronimo-spec</groupId>
Copied: geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/pom.xml (from r421843, geronimo/specs/trunk/geronimo-spec-javamail/pom.xml)
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/pom.xml?p2=geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/pom.xml&p1=geronimo/specs/trunk/geronimo-spec-javamail/pom.xml&r1=421843&r2=421852&rev=421852&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail/pom.xml (original)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.3.1/pom.xml Fri Jul 14 03:02:19 2006
@@ -6,13 +6,13 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>geronimo-javamail_1.3.1_spec</artifactId>
- <name>JavaMail</name>
- <version>${geronimoSpecsJavamailVersion}</version>
+ <name>JavaMail 1.3.1</name>
+ <version>${geronimoSpecsJavamail13Version}</version>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail</connection>
- <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-spec-javamail</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail-1.3.1</connection>
+ <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail-1.3.1</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-spec-javamail-1.3.1</url>
</scm>
<dependencies>
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt Fri Jul 14 03:02:19 2006
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/LICENSE.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt Fri Jul 14 03:02:19 2006
@@ -0,0 +1,3 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/NOTICE.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt Fri Jul 14 03:02:19 2006
@@ -0,0 +1,60 @@
+JavaMail Specification 1.4
+==========================
+
+These classes are based on the JavaMail Specification taken from J2EE 1.4 API
+documentation and on the JavaMail 1.3 specification PDF.
+
+The classes represent the JavaMail API and contain implementations of the
+classes found in the javax.mail packages. In order to function correctly,
+these classes require:
+
+o The Java Activation Framework (JAF) in javax.activation
+o Java 2 (Java 1.2 or later)
+o Implementations of the JavaMail providers to deal with pop/imap/etc.
+ (You may use this with the geronimo-mail implementation or write your own)
+
+This contains no JavaDoc: see
+ http://java.sun.com/products/javamail/
+ http://java.sun.com/j2ee/1.4/docs/api/
+
+for more information on how to use JavaMail to send messages.
+
+Configuration
+-------------
+
+The JavaMail spec defines the following configuration files:
+
+javamail.providers [Defines which classes are used to map to protocols]
+javamail.address.map [Defines which message types (rfc822, news) map to protocols]
+
+They need to be in the CLASSPATH (or in a Jar) in a directory /META-INF/
+e.g. c:\mymail\META-INF\javamail.providers
+
+Providers
+---------
+Provides a protocol, along with its implementation and whether it is a store
+or a transport (subclass of javax.mail.Store or javax.mail.Transport)
+
+protocol=smtp;type=transport;class=org.me.MySMTPTransport;vendor=Me Inc;version=1.0
+protocol=imap;type=store;class=org.me.MyIMAPStore;vendor=Me Inc;version=1.0
+
+Address Map
+-----------
+
+Contains entries in 'name=value' format:
+rfc822=smtp
+news=nntp
+
+Default
+=======
+
+To ensure that other files can be extended at a later stage, the JavaMail
+spec defines three locations for these files:
+
+$JAVA_HOME\lib\javamail.properties
+META-INF\javamail.properties
+META-INF\javamail.default.properties
+
+The files are located in that order and overwrite whatever the previous
+version contained, so if 'smtp' is defined in javamail.properties and
+javamail.default.properties, it will use the one from javamail.default.properties
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/README.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml Fri Jul 14 03:02:19 2006
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ Copyright 2006 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Rev$ $Date$ -->
+<project>
+ <parent>
+ <artifactId>specs</artifactId>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <version>1.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>geronimo-javamail_1.4_spec</artifactId>
+ <name>JavaMail 1.4</name>
+ <version>${geronimoSpecsJavamail14Version}</version>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail-1.4</connection>
+ <developerConnection>scm:svn:http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-spec-javamail-1.4</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-spec-javamail-1.4</url>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-activation_1.0.2_spec</artifactId>
+ </dependency>
+ </dependencies>
+</project>
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,48 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+import java.io.Serializable;
+
+/**
+ * This abstract class models the addresses in a message.
+ * Addresses are Serializable so that they may be serialized along with other search terms.
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class Address implements Serializable {
+ /**
+ * Subclasses must provide a suitable implementation of equals().
+ *
+ * @param object the object to compare t
+ * @return true if the subclass determines the other object is equal to this Address
+ */
+ public abstract boolean equals(Object object);
+
+ /**
+ * Return a String that identifies this address type.
+ * @return the type of this address
+ */
+ public abstract String getType();
+
+ /**
+ * Subclasses must provide a suitable representation of their address.
+ * @return a representation of an Address as a String
+ */
+ public abstract String toString();
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Address.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,31 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class AuthenticationFailedException extends MessagingException {
+ public AuthenticationFailedException() {
+ super();
+ }
+
+ public AuthenticationFailedException(String message) {
+ super(message);
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/AuthenticationFailedException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,64 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+import java.net.InetAddress;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public abstract class Authenticator {
+ private InetAddress host;
+ private int port;
+ private String prompt;
+ private String protocol;
+ private String username;
+
+ synchronized PasswordAuthentication authenticate(InetAddress host, int port, String protocol, String prompt, String username) {
+ this.host = host;
+ this.port = port;
+ this.protocol = protocol;
+ this.prompt = prompt;
+ this.username = username;
+ return getPasswordAuthentication();
+ }
+
+ protected final String getDefaultUserName() {
+ return username;
+ }
+
+ protected PasswordAuthentication getPasswordAuthentication() {
+ return null;
+ }
+
+ protected final int getRequestingPort() {
+ return port;
+ }
+
+ protected final String getRequestingPrompt() {
+ return prompt;
+ }
+
+ protected final String getRequestingProtocol() {
+ return protocol;
+ }
+
+ protected final InetAddress getRequestingSite() {
+ return host;
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Authenticator.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,36 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public abstract class BodyPart implements Part {
+
+ protected Multipart parent;
+
+ public Multipart getParent() {
+ return parent;
+ }
+
+ // Can't be public. Not strictly required for spec, but mirrors Sun's javamail api impl.
+ void setParent(Multipart parent)
+ {
+ this.parent = parent;
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/BodyPart.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,41 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//
+// This source code implements specifications defined by the Java
+// Community Process. In order to remain compliant with the specification
+// DO NOT add / change / or delete method signatures!
+//
+package javax.mail;
+
+import java.util.List;
+import javax.mail.event.MailEvent;
+
+/**
+ * @version $Rev$ $Date$
+ */
+class EventQueue {
+ // todo replace with version based on a work queue from Concurrent
+ void queueEvent(MailEvent event, List listeners) {
+ for (int i = 0; i < listeners.size(); i++) {
+ event.dispatch(listeners.get(i));
+ }
+ }
+
+ void stop() {
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/EventQueue.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,122 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * A FetchProfile defines a list of message attributes that a client wishes to prefetch
+ * from the server during a fetch operation.
+ *
+ * Clients can either specify individual headers, or can reference common profiles
+ * as defined by {@link FetchProfile.Item FetchProfile.Item}.
+ *
+ * @version $Rev$ $Date$
+ */
+public class FetchProfile {
+ /**
+ * Inner class that defines sets of headers that are commonly bundled together
+ * in a FetchProfile.
+ */
+ public static class Item {
+ /**
+ * Item for fetching information about the content of the message.
+ *
+ * This includes all the headers about the content including but not limited to:
+ * Content-Type, Content-Disposition, Content-Description, Size and Line-Count
+ */
+ public static final Item CONTENT_INFO = new Item("Content-Info");
+
+ /**
+ * Item for fetching information about the envelope of the message.
+ *
+ * This includes all the headers comprising the envelope including but not limited to:
+ * From, To, Cc, Bcc, Reply-To, Subject and Date
+ *
+ * For IMAP4, this should also include the ENVELOPE data item.
+ *
+ */
+ public static final Item ENVELOPE = new Item("Envelope");
+
+ /**
+ * Item for fetching information about message flags.
+ * Generall corresponds to the X-Flags header.
+ */
+ public static final Item FLAGS = new Item("Flags");
+
+ protected Item(String name) {
+ // hmmm, name is passed in but we are not allowed to provide accessors
+ // or to override equals/hashCode so what use is it?
+ }
+ }
+
+ // use Lists as we don't expect contains to be called often and the number of elements should be small
+ private final List items = new ArrayList();
+ private final List headers = new ArrayList();
+
+ /**
+ * Add a predefined profile of headers.
+ *
+ * @param item the profile to add
+ */
+ public void add(Item item) {
+ items.add(item);
+ }
+
+ /**
+ * Add a specific header.
+ * @param header the header whose value should be prefetched
+ */
+ public void add(String header) {
+ headers.add(header);
+ }
+
+ /**
+ * Determine if the given profile item is already included.
+ * @param item the profile to check for
+ * @return true if the profile item is already included
+ */
+ public boolean contains(Item item) {
+ return items.contains(item);
+ }
+
+ /**
+ * Determine if the specified header is already included.
+ * @param header the header to check for
+ * @return true if the header is already included
+ */
+ public boolean contains(String header) {
+ return headers.contains(header);
+ }
+
+ /**
+ * Get the profile items already included.
+ * @return the items already added to this profile
+ */
+ public Item[] getItems() {
+ return (Item[]) items.toArray(new Item[items.size()]);
+ }
+
+ /** Get the headers that have already been included.
+ * @return the headers already added to this profile
+ */
+ public String[] getHeaderNames() {
+ return (String[]) headers.toArray(new String[headers.size()]);
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/FetchProfile.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java?rev=421852&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java (added)
+++ geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java Fri Jul 14 03:02:19 2006
@@ -0,0 +1,261 @@
+/**
+ *
+ * Copyright 2003-2006 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package javax.mail;
+
+import java.io.Serializable;
+import java.util.Hashtable;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+
+/**
+ * Representation of flags that may be associated with a message.
+ * Flags can either be system flags, defined by the {@link Flags.Flag Flag} inner class,
+ * or user-defined flags defined by a String. The system flags represent those expected
+ * to be provided by most folder systems; user-defined flags allow for additional flags
+ * on a per-provider basis.
+ * <p/>
+ * This class is Serializable but compatibility is not guaranteed across releases.
+ *
+ * @version $Rev$ $Date$
+ */
+public class Flags implements Cloneable, Serializable {
+ public static final class Flag {
+ /**
+ * Flag that indicates that the message has been replied to; has a bit value of 1.
+ */
+ public static final Flag ANSWERED = new Flag(1);
+ /**
+ * Flag that indicates that the message has been marked for deletion and
+ * should be removed on a subsequent expunge operation; has a bit value of 2.
+ */
+ public static final Flag DELETED = new Flag(2);
+ /**
+ * Flag that indicates that the message is a draft; has a bit value of 4.
+ */
+ public static final Flag DRAFT = new Flag(4);
+ /**
+ * Flag that indicates that the message has been flagged; has a bit value of 8.
+ */
+ public static final Flag FLAGGED = new Flag(8);
+ /**
+ * Flag that indicates that the message has been delivered since the last time
+ * this folder was opened; has a bit value of 16.
+ */
+ public static final Flag RECENT = new Flag(16);
+ /**
+ * Flag that indicates that the message has been viewed; has a bit value of 32.
+ * This flag is set by the {@link Message#getInputStream()} and {@link Message#getContent()}
+ * methods.
+ */
+ public static final Flag SEEN = new Flag(32);
+ /**
+ * Flags that indicates if this folder supports user-defined flags; has a bit value of 0x80000000.
+ */
+ public static final Flag USER = new Flag(0x80000000);
+
+ private final int mask;
+
+ private Flag(int mask) {
+ this.mask = mask;
+ }
+ }
+
+ // the Serialized form of this class required the following two fields to be persisted
+ // this leads to a specific type of implementation
+ private int system_flags;
+ private final Hashtable user_flags;
+
+ /**
+ * Construct a Flags instance with no flags set.
+ */
+ public Flags() {
+ user_flags = new Hashtable();
+ }
+
+ /**
+ * Construct a Flags instance with a supplied system flag set.
+ * @param flag the system flag to set
+ */
+ public Flags(Flag flag) {
+ system_flags = flag.mask;
+ user_flags = new Hashtable();
+ }
+
+ /**
+ * Construct a Flags instance with a same flags set.
+ * @param flags the instance to copy
+ */
+ public Flags(Flags flags) {
+ system_flags = flags.system_flags;
+ user_flags = new Hashtable(flags.user_flags);
+ }
+
+ /**
+ * Construct a Flags instance with the supplied user flags set.
+ * Question: should this automatically set the USER system flag?
+ * @param name the user flag to set
+ */
+ public Flags(String name) {
+ user_flags = new Hashtable();
+ user_flags.put(name.toLowerCase(), name);
+ }
+
+ /**
+ * Set a system flag.
+ * @param flag the system flag to set
+ */
+ public void add(Flag flag) {
+ system_flags |= flag.mask;
+ }
+
+ /**
+ * Set all system and user flags from the supplied Flags.
+ * Question: do we need to check compatibility of USER flags?
+ * @param flags the Flags to add
+ */
+ public void add(Flags flags) {
+ system_flags |= flags.system_flags;
+ user_flags.putAll(flags.user_flags);
+ }
+
+ /**
+ * Set a user flag.
+ * Question: should this fail if the USER system flag is not set?
+ * @param name the user flag to set
+ */
+ public void add(String name) {
+ user_flags.put(name.toLowerCase(), name);
+ }
+
+ /**
+ * Return a copy of this instance.
+ * @return a copy of this instance
+ */
+ public Object clone() {
+ return new Flags(this);
+ }
+
+ /**
+ * See if the supplied system flags are set
+ * @param flag the system flags to check for
+ * @return true if the flags are set
+ */
+ public boolean contains(Flag flag) {
+ return (system_flags & flag.mask) != 0;
+ }
+
+ /**
+ * See if all of the supplied Flags are set
+ * @param flags the flags to check for
+ * @return true if all the supplied system and user flags are set
+ */
+ public boolean contains(Flags flags) {
+ return ((system_flags & flags.system_flags) == flags.system_flags)
+ && user_flags.keySet().containsAll(flags.user_flags.keySet());
+ }
+
+ /**
+ * See if the supplied user flag is set
+ * @param name the user flag to check for
+ * @return true if the flag is set
+ */
+ public boolean contains(String name) {
+ return user_flags.containsKey(name.toLowerCase());
+ }
+
+ /**
+ * Equality is defined as true if the other object is a instanceof Flags with the
+ * same system and user flags set (using a case-insensitive name comparison for user flags).
+ * @param other the instance to compare against
+ * @return true if the two instance are the same
+ */
+ public boolean equals(Object other) {
+ if (other == this) return true;
+ if (other instanceof Flags == false) return false;
+ final Flags flags = (Flags) other;
+ return system_flags == flags.system_flags && user_flags.keySet().equals(flags.user_flags.keySet());
+ }
+
+ /**
+ * Calculate a hashCode for this instance
+ * @return a hashCode for this instance
+ */
+ public int hashCode() {
+ return system_flags ^ user_flags.keySet().hashCode();
+ }
+
+ /**
+ * Return a list of {@link Flags.Flag Flags} containing the system flags that have been set
+ * @return the system flags that have been set
+ */
+ public Flag[] getSystemFlags() {
+ // assumption: it is quicker to calculate the size than it is to reallocate the array
+ int size = 0;
+ if ((system_flags & Flag.ANSWERED.mask) != 0) size += 1;
+ if ((system_flags & Flag.DELETED.mask) != 0) size += 1;
+ if ((system_flags & Flag.DRAFT.mask) != 0) size += 1;
+ if ((system_flags & Flag.FLAGGED.mask) != 0) size += 1;
+ if ((system_flags & Flag.RECENT.mask) != 0) size += 1;
+ if ((system_flags & Flag.SEEN.mask) != 0) size += 1;
+ if ((system_flags & Flag.USER.mask) != 0) size += 1;
+ Flag[] result = new Flag[size];
+ if ((system_flags & Flag.USER.mask) != 0) result[--size] = Flag.USER;
+ if ((system_flags & Flag.SEEN.mask) != 0) result[--size] = Flag.SEEN;
+ if ((system_flags & Flag.RECENT.mask) != 0) result[--size] = Flag.RECENT;
+ if ((system_flags & Flag.FLAGGED.mask) != 0) result[--size] = Flag.FLAGGED;
+ if ((system_flags & Flag.DRAFT.mask) != 0) result[--size] = Flag.DRAFT;
+ if ((system_flags & Flag.DELETED.mask) != 0) result[--size] = Flag.DELETED;
+ if ((system_flags & Flag.ANSWERED.mask) != 0) result[--size] = Flag.ANSWERED;
+ return result;
+ }
+
+ /**
+ * Return a list of user flags that have been set
+ * @return a list of user flags
+ */
+ public String[] getUserFlags() {
+ return (String[]) user_flags.values().toArray(new String[user_flags.values().size()]);
+ }
+
+ /**
+ * Unset the supplied system flag.
+ * Question: what happens if we unset the USER flags and user flags are set?
+ * @param flag the flag to clear
+ */
+ public void remove(Flag flag) {
+ system_flags &= ~flag.mask;
+ }
+
+ /**
+ * Unset all flags from the supplied instance.
+ * @param flags the flags to clear
+ */
+ public void remove(Flags flags) {
+ system_flags &= ~flags.system_flags;
+ user_flags.keySet().removeAll(flags.user_flags.keySet());
+ }
+
+ /**
+ * Unset the supplied user flag.
+ * @param name the flag to clear
+ */
+ public void remove(String name) {
+ user_flags.remove(name.toLowerCase());
+ }
+}
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: geronimo/specs/trunk/geronimo-spec-javamail-1.4/src/main/java/javax/mail/Flags.java
------------------------------------------------------------------------------
svn:mime-type = text/plain