Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 17999 invoked from network); 16 Nov 2009 09:27:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 09:27:57 -0000 Received: (qmail 29132 invoked by uid 500); 16 Nov 2009 09:27:57 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 29097 invoked by uid 500); 16 Nov 2009 09:27:57 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 29087 invoked by uid 99); 16 Nov 2009 09:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 09:27:56 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 09:27:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9CAF32388867; Mon, 16 Nov 2009 09:27:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r880687 - /james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java Date: Mon, 16 Nov 2009 09:27:30 -0000 To: mime4j-dev@james.apache.org From: mwiederkehr@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091116092734.9CAF32388867@eris.apache.org> Author: mwiederkehr Date: Mon Nov 16 09:27:19 2009 New Revision: 880687 URL: http://svn.apache.org/viewvc?rev=880687&view=rev Log: order of methods: placed getters before setters Modified: james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java Modified: james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java?rev=880687&r1=880686&r2=880687&view=diff ============================================================================== --- james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java (original) +++ james/mime4j/trunk/core/src/main/java/org/apache/james/mime4j/parser/MimeEntityConfig.java Mon Nov 16 09:27:19 2009 @@ -52,6 +52,16 @@ } /** + * Returns the value of the strict parsing mode + * @see #setStrictParsing(boolean) + * + * @return value of the strict parsing mode + */ + public boolean isStrictParsing() { + return this.strictParsing; + } + + /** * Defines whether minor violations of the MIME specification should be * tolerated or should result in a {@link MimeException}. If this parameter * is set to true, a strict interpretation of the MIME @@ -64,16 +74,16 @@ this.strictParsing = strictParsing; } - /** - * Returns the value of the strict parsing mode - * @see #setStrictParsing(boolean) + /** + * Returns the maximum line length limit + * @see #setMaxLineLen(int) * - * @return value of the strict parsing mode + * @return value of the the maximum line length limit */ - public boolean isStrictParsing() { - return this.strictParsing; + public int getMaxLineLen() { + return this.maxLineLen; } - + /** * Sets the maximum line length limit. Parsing of a MIME entity will be terminated * with a {@link MimeException} if a line is encountered that exceeds the maximum @@ -87,13 +97,13 @@ } /** - * Returns the maximum line length limit - * @see #setMaxLineLen(int) + * Returns the maximum header limit + * @see #setMaxHeaderCount(int) * - * @return value of the the maximum line length limit + * @return value of the the maximum header limit */ - public int getMaxLineLen() { - return this.maxLineLen; + public int getMaxHeaderCount() { + return this.maxHeaderCount; } /** @@ -109,13 +119,13 @@ } /** - * Returns the maximum header limit - * @see #setMaxHeaderCount(int) + * Returns the maximum content length limit + * @see #setMaxContentLen(long) * - * @return value of the the maximum header limit + * @return value of the the maximum content length limit */ - public int getMaxHeaderCount() { - return this.maxHeaderCount; + public long getMaxContentLen() { + return maxContentLen; } /** @@ -130,14 +140,13 @@ this.maxContentLen = maxContentLen; } - /** - * Returns the maximum content length limit - * @see #setMaxContentLen(long) + /** + * Returns the value of the line number counting mode. * - * @return value of the the maximum content length limit + * @return value of the line number counting mode. */ - public long getMaxContentLen() { - return maxContentLen; + public boolean isCountLineNumbers() { + return countLineNumbers; } /** @@ -152,15 +161,6 @@ } /** - * Returns the value of the line number counting mode. - * - * @return value of the line number counting mode. - */ - public boolean isCountLineNumbers() { - return countLineNumbers; - } - - /** * Returns the value of the default content type. * When not null, indicates that the parsing should be headless. *