Commit 9e1449f0 authored by jburke.cadc's avatar jburke.cadc
Browse files

Javadocs.

git-svn-id: https://opencadc.googlecode.com/svn/trunk@273 728ff76a-78ac-11de-a72b-d90af8dea425
parent d25dc0b9
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -71,8 +71,20 @@ package ca.nrc.cadc.tap.writer.formatter;

import java.sql.SQLException;

/**
 * Formats a int[] into a String.
 *
 */
public class IntArrayFormatter implements Formatter
{
    /**
     * Takes an int[] contained in a java.sql.Array and returns
     * the default String representation.
     *
     * @param object to format.
     * @return String represenetation of the int[].
     * @throws IllegalArgumentException if the object is not an int[];
     */
    public String format(Object object)
    {
        if (object == null)