Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CC57D984 for ; Tue, 26 Jun 2012 19:41:18 +0000 (UTC) Received: (qmail 5397 invoked by uid 500); 26 Jun 2012 19:41:17 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 5325 invoked by uid 500); 26 Jun 2012 19:41:17 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 5317 invoked by uid 99); 26 Jun 2012 19:41:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 19:41:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Tue, 26 Jun 2012 19:41:16 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 645C72388847 for ; Tue, 26 Jun 2012 19:40:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1354191 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java Date: Tue, 26 Jun 2012 19:40:56 -0000 To: commits@commons.apache.org From: damjan@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120626194056.645C72388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: damjan Date: Tue Jun 26 19:40:55 2012 New Revision: 1354191 URL: http://svn.apache.org/viewvc?rev=1354191&view=rev Log: Fix some Javadoc errors. Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java?rev=1354191&r1=1354190&r2=1354191&view=diff ============================================================================== --- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java (original) +++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java Tue Jun 26 19:40:55 2012 @@ -811,7 +811,7 @@ public abstract class Imaging implements } /** - * Determines the width and height of an image. + * Extracts the embedded XML metadata as an XML string. *

* * @param is @@ -826,7 +826,7 @@ public abstract class Imaging implements } /** - * Determines the width and height of an image. + * Extracts the embedded XML metadata as an XML string. *

* * @param is @@ -843,7 +843,7 @@ public abstract class Imaging implements } /** - * Determines the width and height of an image. + * Extracts the embedded XML metadata as an XML string. *

* * @param bytes @@ -856,7 +856,7 @@ public abstract class Imaging implements } /** - * Determines the width and height of an image. + * Extracts the embedded XML metadata as an XML string. *

* * @param bytes @@ -871,7 +871,7 @@ public abstract class Imaging implements } /** - * Extracts embedded XML metadata as XML string. + * Extracts the embedded XML metadata as an XML string. *

* * @param file @@ -884,7 +884,7 @@ public abstract class Imaging implements } /** - * Extracts embedded XML metadata as XML string. + * Extracts the embedded XML metadata as an XML string. *

* * @param file @@ -899,7 +899,7 @@ public abstract class Imaging implements } /** - * Extracts embedded XML metadata as XML string. + * Extracts the embedded XML metadata as an XML string. *

* * @param byteSource @@ -1295,8 +1295,6 @@ public abstract class Imaging implements * while reading an image (i.e. a format violation, etc.). * @throws IOException in the event of an unrecoverable I/O exception. */ - - public static BufferedImage getBufferedImage(byte bytes[], Map params) throws ImageReadException, IOException { return getBufferedImage(new ByteSourceArray(bytes), params); @@ -1361,31 +1359,6 @@ public abstract class Imaging implements return imageParser.getBufferedImage(byteSource, params); } - /** - * Writes a BufferedImage to a file. - *

- * (TODO: elaborate here.) - *

- * Sanselan can only read image info, metadata and ICC profiles from all - * image formats. However, note that the library cannot currently read or - * write JPEG image data. PSD (Photoshop) files can only be partially read - * and cannot be written. All other formats (PNG, GIF, TIFF, BMP, etc.) are - * fully supported. - *

- * - * @param src - * The BufferedImage to be written. - * @param file - * File to write to. - * @param format - * The ImageFormat to use. - * @param params - * Map of optional parameters, defined in ImagingConstants. - * @see ImagingConstants - */ - - - /** * Writes the content of a BufferedImage to a file using the specified * image format. Specifications for storing the file (such as data compression,