The following document contains the results of PMD's CPD 4.2.2.
File | Line |
---|---|
org/abstracthorizon/mercury/maildir/util/MessageWrapper.java | 137 |
org/abstracthorizon/mercury/maildir/util/ReadOnlyMessageWrapper.java | 121 |
throw new IllegalWriteException("Read only message"); } /** * Returns header lines * @return enumeration * @throws MessagingException */ public Enumeration<?> getAllHeaderLines() throws MessagingException { return message.getAllHeaderLines(); } /** * Returns headers * @return enumeration * @throws MessagingException */ public Enumeration<?> getAllHeaders() throws MessagingException { return message.getAllHeaders(); } /** * Returns all recipients * @return array of addresses * @throws MessagingException */ public Address[] getAllRecipients() throws MessagingException { return message.getAllRecipients(); } /** * Returns content * @return content * @throws IOException * @throws MessagingException */ public Object getContent() throws IOException, MessagingException { return message.getContent(); } /** * Returns content id * @return content id * @throws MessagingException */ public String getContentID() throws MessagingException { return message.getContentID(); } /** * Returns content language * @return content language * @throws MessagingException */ public String[] getContentLanguage() throws MessagingException { return message.getContentLanguage(); } /** * Returns content md3 * @return content md * @throws MessagingException */ public String getContentMD5() throws MessagingException { return message.getContentMD5(); } // // /** // * Returns content stream // * @return content stream // * @throws MessagingException // */ // protected InputStream getContentStream() throws MessagingException { // return null; // } /** * Returns content type * @return content type * @throws MessagingException */ public String getContentType() throws MessagingException { return message.getContentType(); } /** * Returns data handler * @return data handler * @throws MessagingException */ public DataHandler getDataHandler() throws MessagingException { return message.getDataHandler(); } /** * Returns description * @return description * @throws MessagingException */ public String getDescription() throws MessagingException { return message.getDescription(); } /** * Returns disposition * @return disposition * @throws MessagingException */ public String getDisposition() throws MessagingException { return message.getDisposition(); } /** * Returns encoding * @return encoding * @throws MessagingException */ public String getEncoding() throws MessagingException { return message.getEncoding(); } /** * Returns file name * @return file name * @throws MessagingException */ public String getFileName() throws MessagingException { return message.getFileName(); } /** * Returns from * @return array of from addresses * @throws MessagingException */ public Address[] getFrom() throws MessagingException { return message.getFrom(); } /** * Returns header * @param name name of header * @return array of header values * @throws MessagingException */ public String[] getHeader(String name) throws MessagingException { return message.getHeader(name); } /** * Returns header * @param name name * @param delimiter delimiter * @return header * @throws MessagingException */ public String getHeader(String name, String delimiter) throws MessagingException { return message.getHeader(name, delimiter); } /** * Returns input stream * @return input stream * @throws IOException * @throws MessagingException */ public InputStream getInputStream() throws IOException, MessagingException { return message.getInputStream(); } /** * Returns line count * @return line count * @throws MessagingException */ public int getLineCount() throws MessagingException { return message.getLineCount(); } /** * Returns matching header lines * @param names array of names * @return enumeration * @throws MessagingException */ public Enumeration<?> getMatchingHeaderLines(String[] names) throws MessagingException { return message.getMatchingHeaderLines(names); } /** * Returns matching headers * @param names header names * @return enumeration * @throws MessagingException */ public Enumeration<?> getMatchingHeaders(String[] names) throws MessagingException { return message.getMatchingHeaders(names); } /** * Returns message id * @return message id * @throws MessagingException */ public String getMessageID() throws MessagingException { return message.getMessageID(); } /** * Returns non matching header lines * @param names array of names * @return enumeration * @throws MessagingException */ public Enumeration<?> getNonMatchingHeaderLines(String[] names) throws MessagingException { return message.getNonMatchingHeaderLines(names); } /** * Returns non matching headers * @param names header names * @return enumeration * @throws MessagingException */ public Enumeration<?> getNonMatchingHeaders(String[] names) throws MessagingException { return message.getNonMatchingHeaders(names); } /** * Returns raw input stream * @return raw input stream * @throws MessagingException */ public InputStream getRawInputStream() throws MessagingException { return message.getRawInputStream(); } /** * Returns recipients * @param type recipitents' type * @return array of recipients * @throws MessagingException */ public Address[] getRecipients(Message.RecipientType type) throws MessagingException { return message.getRecipients(type); } /** * Returns reply to * @return array of recipients * @throws MessagingException */ public Address[] getReplyTo() throws MessagingException { return message.getReplyTo(); } /** * Returns sender * @return sender * @throws MessagingException */ public Address getSender() throws MessagingException { return message.getSender(); } /** * Returns sent date * @return sent date * @throws MessagingException */ public Date getSentDate() throws MessagingException { return message.getSentDate(); } /** * Returns size * @return size * @throws MessagingException */ public int getSize() throws MessagingException { return message.getSize(); } /** * Returns subject * @return subject * @throws MessagingException */ public String getSubject() throws MessagingException { return message.getSubject(); } /** * Returns <code>true</code> if is of supplied mime type * @param mimeType mime type to be checked * @return <code>true</code> if is of supplied mime type * @throws MessagingException */ public boolean isMimeType(String mimeType) throws MessagingException { return message.isMimeType(mimeType); } /** * Removes header * @param name header's name * @throws MessagingException * @throws IllegalWriteException always */ public void removeHeader(String name) throws MessagingException { |