Browse Source

Yet more javadoc fixes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@551914 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_3_0_2_BETA1
Nick Burch 17 years ago
parent
commit
62432eae1e

+ 1
- 4
src/java/org/apache/poi/hssf/record/CustomField.java View File

@@ -28,10 +28,7 @@ public interface CustomField

/**
* Populates this fields data from the byte array passed in.
* @param data raw data
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
* @return the number of bytes read.
* @param in the RecordInputstream to read the record from
*/
int fillField(RecordInputStream in);


+ 1
- 3
src/java/org/apache/poi/hssf/record/ExternSheetRecord.java View File

@@ -65,9 +65,7 @@ public class ExternSheetRecord extends Record {
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/icomplete data.
*
* @param data raw data
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
* @param in the RecordInputstream to read the record from
*/
protected void fillFields(RecordInputStream in) {
field_2_REF_structures = new ArrayList();

+ 0
- 2
src/java/org/apache/poi/hssf/record/MulBlankRecord.java View File

@@ -118,9 +118,7 @@ public class MulBlankRecord

/**
* @param in the RecordInputstream to read the record from
* @param size size of data
*/

protected void fillFields(RecordInputStream in)
{
//field_1_row = LittleEndian.getShort(data, 0 + offset);

+ 0
- 2
src/java/org/apache/poi/hssf/record/MulRKRecord.java View File

@@ -121,9 +121,7 @@ public class MulRKRecord

/**
* @param in the RecordInputstream to read the record from
* @param size size of data
*/

protected void fillFields(RecordInputStream in)
{
//field_1_row = LittleEndian.getShort(data, 0 + offset);

+ 2
- 1
src/java/org/apache/poi/hssf/record/NameRecord.java View File

@@ -491,7 +491,8 @@ public class NameRecord extends Record {
/**
* called by the class that is responsible for writing this sucker.
* Subclasses should implement this so that their data is passed back in a
* @param in the RecordInputstream to read the record from
* @param offset to begin writing at
* @param data byte array containing instance data
* @return number of bytes written
*/
public int serialize( int offset, byte[] data )

+ 2
- 2
src/java/org/apache/poi/hssf/record/NoteRecord.java View File

@@ -194,8 +194,8 @@ public class NoteRecord extends Record {
* Options flags.
*
* @return the options flag
* @see NoteRecord.NOTE_VISIBLE
* @see NoteRecord.NOTE_HIDDEN
* @see #NOTE_VISIBLE
* @see #NOTE_HIDDEN
*/
public short getFlags(){
return field_3_flags;

+ 0
- 7
src/java/org/apache/poi/hssf/record/PageBreakRecord.java View File

@@ -35,14 +35,7 @@ import org.apache.poi.util.LittleEndian;
* <p>REFERENCE: Microsoft Excel SDK page 322 and 420</p>
*
* @see HorizontalPageBreakRecord
<<<<<<< PageBreakRecord.java
* @see VerticalPageBreakREcord
*
* REFERENCE: Microsoft Excel SDK page 322 and 420
=======
* @see VerticalPageBreakRecord
*
>>>>>>> 1.5
* @author Danny Mui (dmui at apache dot org)
*/
public class PageBreakRecord extends Record {

+ 1
- 3
src/java/org/apache/poi/hssf/record/Record.java View File

@@ -66,9 +66,7 @@ public abstract class Record
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/icomplete data.
*
* @param data raw data
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
* @param in the RecordInputstream to read the record from
*/

protected abstract void fillFields(RecordInputStream in);

+ 1
- 1
src/java/org/apache/poi/hssf/record/RecordInputStream.java View File

@@ -220,7 +220,7 @@ public class RecordInputStream extends InputStream
*
* { 0x16, 0x00 } -0x16
*
* @param len the length of the final string
* @param length the length of the final string
* @return the converted string
* @exception IllegalArgumentException if len is too large (i.e.,
* there is not enough data in string to create a String of that

+ 2
- 6
src/java/org/apache/poi/hssf/record/SSTRecord.java View File

@@ -93,10 +93,7 @@ public class SSTRecord
/**
* Constructs an SST record and sets its fields appropriately.
*
* @param id must be 0xfc or an exception will be throw upon
* validation
* @param size the size of the data area of the record
* @param data of the record (should not contain sid/len)
* @param in the RecordInputstream to read the record from
*/

public SSTRecord( RecordInputStream in )
@@ -352,8 +349,7 @@ public class SSTRecord
* associated data. The UnicodeString class can handle the byte[]
* vs short[] nature of the actual string data
*
* @param data raw data
* @param size size of the raw data
* @param in the RecordInputstream to read the record from
*/

protected void fillFields( RecordInputStream in )

+ 0
- 2
src/java/org/apache/poi/hssf/record/StringRecord.java View File

@@ -67,8 +67,6 @@ public class StringRecord

/**
* @param in the RecordInputstream to read the record from
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
*/
protected void fillFields( RecordInputStream in)
{

+ 0
- 2
src/java/org/apache/poi/hssf/record/SupBookRecord.java View File

@@ -62,8 +62,6 @@ public class SupBookRecord extends Record

/**
* @param in the RecordInputstream to read the record from
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
*/
protected void fillFields(RecordInputStream in)
{

+ 5
- 5
src/java/org/apache/poi/hssf/record/TopMarginRecord.java View File

@@ -35,10 +35,7 @@ public class TopMarginRecord extends Record implements Margin
/**
* Constructs a TopMargin record and sets its fields appropriately.
*
* @param id id must be 0x28 or an exception
* will be throw upon validation
* @param size size the size of the data area of the record
* @param data data of the record (should not contain sid/len)
* @param in the RecordInputstream to read the record from
*/
public TopMarginRecord( RecordInputStream in )
{ super( in ); }
@@ -56,6 +53,9 @@ public class TopMarginRecord extends Record implements Margin
}
}

/**
* @param in the RecordInputstream to read the record from
*/
protected void fillFields( RecordInputStream in )
{
field_1_margin = in.readDouble();
@@ -102,4 +102,4 @@ public class TopMarginRecord extends Record implements Margin
rec.field_1_margin = this.field_1_margin;
return rec;
}
} // END OF CLASS
} // END OF CLASS

+ 1
- 3
src/java/org/apache/poi/hssf/record/UnknownRecord.java View File

@@ -136,9 +136,7 @@ public class UnknownRecord
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/icomplete data.
*
* @param data raw data
* @param size size of data
* @param offset of the records data (provided a big array of the file)
* @param in the RecordInputstream to read the record from
*/

protected void fillFields(RecordInputStream in)

+ 1
- 7
src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java View File

@@ -230,14 +230,8 @@ public class RowRecordsAggregate
}

/**
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/incomplete data.
*
* @param data raw data
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
* You never fill an aggregate
*/

protected void fillFields(RecordInputStream in)
{
}

+ 1
- 7
src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java View File

@@ -242,14 +242,8 @@ public class ValueRecordsAggregate

/**
* called by the constructor, should set class level fields. Should throw
* runtime exception for bad/icomplete data.
*
* @param data raw data
* @param size size of data
* @param offset of the record's data (provided a big array of the file)
* You never fill an aggregate
*/

protected void fillFields(RecordInputStream in)
{
}

+ 1
- 2
src/java/org/apache/poi/hssf/record/formula/GreaterThanPtg.java View File

@@ -49,8 +49,7 @@ public class GreaterThanPtg

/**
* Constructor. Create a new GreaterThanPtg.
* @param data the byte array to have the PTG added to
* @param offset the offset to the PTG to.
* @param in the RecordInputstream to read the record from
*/
public GreaterThanPtg(RecordInputStream in)
{

+ 1
- 2
src/java/org/apache/poi/hssf/record/formula/LessThanPtg.java View File

@@ -58,8 +58,7 @@ public class LessThanPtg

/**
* Constructor. Create a new LessThanPtg.
* @param data the byte array to have the PTG added to
* @param offset the offset to the PTG to.
* @param in the RecordInputstream to read the record from
*/
public LessThanPtg(RecordInputStream in)
{

+ 2
- 1
src/java/org/apache/poi/hssf/usermodel/HSSFDateUtil.java View File

@@ -160,6 +160,7 @@ public class HSSFDateUtil
*
* @param formatIndex The index of the format, eg from ExtendedFormatRecord.getFormatIndex
* @param formatString The format string
* @see #isInternalDateFormat(int,String)
*/
public static boolean isADateFormat(int formatIndex, String formatString) {
// First up, is this an internal date format?
@@ -187,7 +188,7 @@ public class HSSFDateUtil
/**
* Given a format ID this will check whether the format represents
* an internal excel date format or not.
* @see isDateFormat(int,String)
* @see #isDateFormat(int,String)
*/
public static boolean isInternalDateFormat(int format) {
boolean retval =false;

+ 0
- 1
src/java/org/apache/poi/hssf/usermodel/HSSFFont.java View File

@@ -383,7 +383,6 @@ public class HSSFFont

/**
* set character-set to use.
* @return character-set
* @see #ANSI_CHARSET
* @see #DEFAULT_CHARSET
* @see #SYMBOL_CHARSET

Loading…
Cancel
Save