Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 7713 invoked from network); 21 Nov 2007 15:20:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 15:20:13 -0000 Received: (qmail 1191 invoked by uid 500); 21 Nov 2007 15:20:01 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 1117 invoked by uid 500); 21 Nov 2007 15:20:01 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 1102 invoked by uid 99); 21 Nov 2007 15:20:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 07:20:01 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 15:20:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CF7B81A9832; Wed, 21 Nov 2007 07:19:49 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r597110 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java Date: Wed, 21 Nov 2007 15:19:49 -0000 To: derby-commits@db.apache.org From: kristwaa@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071121151949.CF7B81A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: kristwaa Date: Wed Nov 21 07:19:49 2007 New Revision: 597110 URL: http://svn.apache.org/viewvc?rev=597110&view=rev Log: Converted a batch of comments into JavaDoc by adding another star. Made minor changes to text/comments. Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java?rev=597110&r1=597109&r2=597110&view=diff ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportLobFile.java Wed Nov 21 07:19:49 2007 @@ -48,9 +48,9 @@ private String dataCodeset; - /* + /** * Create a ImportLobFile object. - * @param lobFile the file which has the LOB Data. + * @param lobFile the file which has the LOB Data. * @param dataCodeset the code set to use char data in the file. */ ImportLobFile(File lobFile, String dataCodeset) throws Exception { @@ -59,10 +59,10 @@ } - /* + /** * Open the lob file and setup the stream required to read the data. * @param lobFile the file that contains lob data. - * @exception Exception if an error occurs. + * @exception Exception if an error occurs. */ private void openLobFile(final File lobFile) throws Exception @@ -88,11 +88,11 @@ lobFile.getPath())); } - // set up stream to read from input file, starting from + // Set up stream to read from input file, starting from // any offset in the file. Users can specify columns in // any order or skip some during import. So it is - // is required for this stream have ability to read from - // any offset in the file. + // required for this stream to have the ability to read + // from any offset in the file. lobInputStream = new ImportFileInputStream(lobRaf); @@ -105,10 +105,10 @@ } - /* + /** * Returns a stream that points to the lob data from file at the - * given offset . - * at the specified offset. + * given offset. + * * @param offset byte offset of the column data in the file. * @param length length of the the data. * @exception IOException if any I/O error occurs. @@ -122,8 +122,8 @@ } - /* - * Returns the clob data at the given location as String. + /** + * Returns the clob data at the given location as String. * @param offset byte offset of the column data in the file. * @param length length of the the data. * @exception IOException on any I/O error. @@ -152,9 +152,9 @@ } - /* + /** * Returns a stream that points to the clob data from file at the - * given offset . + * given offset. * @param offset byte offset of the column data in the file. * @param length length of the the data in bytes. * @exception IOException on any I/O error. @@ -176,7 +176,7 @@ return lobReader; } - /* + /** * Returns the clob data length in characters at the give location. * @param offset byte offset of the column data in the file. * @param length length of the the data in bytes. @@ -206,8 +206,8 @@ return lengthInChars; } - /* - * close all the resources realate to the lob file. + /** + * Close all the resources realated to the lob file. */ public void close() throws IOException { @@ -235,9 +235,8 @@ * any offset in the file. This stream operates on top of a * RandomAccessFile object. This class overrides InputStream methods to * read from the given RandomAccessFile and provides an addtional method - * seek(..) to postion the stream at offset in the file. + * seek(..) to position the stream at offset in the file. */ - class ImportFileInputStream extends InputStream { @@ -246,8 +245,8 @@ private long fileLength = 0; /** - * Create a ImportFileInputStreamm object for - * the given file. + * Create a ImportFileInputStream object for + * the given file. * @param raf file the stream reads from. * @exception IOException if any I/O error occurs. */ @@ -258,8 +257,8 @@ this.fileLength = raf.length(); } - /* - * sets the file offset at which the next read will occur. + /** + * Sets the file offset at which the next read will occur. * @param offset byte offset in the file. * @exception IOException if an I/O error occurs. */ @@ -269,8 +268,8 @@ } - /** overide following input stream methods to read data from the - * from the current postion of the file. + /* Override the following InputStream-methods to + * read data from the current postion of the file. */