Top Description Fields Constructors Methods
org.apache.poi.ss.format

public Class CellNumberPartHandler

extends Object
implements PartHandler
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.format.CellFormatPart.PartHandler
Annotations
@Internal
Imports
java.util.LinkedList, .List, .ListIterator, java.util.regex.Matcher, org.apache.poi.ss.format.CellFormatPart.PartHandler, .CellNumberFormatter.Special, org.apache.poi.util.Internal

Internal helper class for CellNumberFormatter

Field Summary

Modifier and TypeField and Description
private CellNumberFormatter.Special
private CellNumberFormatter.Special
private boolean
private char
private CellNumberFormatter.Special
private double
private CellNumberFormatter.Special
private final List<CellNumberFormatter.Special>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static CellNumberFormatter.Special
public CellNumberFormatter.Special
public CellNumberFormatter.Special
public CellNumberFormatter.Special
public double
public CellNumberFormatter.Special
public List<CellNumberFormatter.Special>
public String
private static boolean
public boolean
private CellNumberFormatter.Special
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

decimalPointback to summary
private CellNumberFormatter.Special decimalPoint
exponentback to summary
private CellNumberFormatter.Special exponent
improperFractionback to summary
private boolean improperFraction
insertSignForExponentback to summary
private char insertSignForExponent
numeratorback to summary
private CellNumberFormatter.Special numerator
scaleback to summary
private double scale
slashback to summary
private CellNumberFormatter.Special slash
specialsback to summary
private final List<CellNumberFormatter.Special> specials

Constructor Detail

CellNumberPartHandlerback to summary
public CellNumberPartHandler()

Method Detail

firstDigitback to summary
private static CellNumberFormatter.Special firstDigit(List<CellNumberFormatter.Special> specials)
getDecimalPointback to summary
public CellNumberFormatter.Special getDecimalPoint()
getExponentback to summary
public CellNumberFormatter.Special getExponent()
getNumeratorback to summary
public CellNumberFormatter.Special getNumerator()
getScaleback to summary
public double getScale()
getSlashback to summary
public CellNumberFormatter.Special getSlash()
getSpecialsback to summary
public List<CellNumberFormatter.Special> getSpecials()
handlePartback to summary
public String handlePart(Matcher m, String part, CellFormatType type, StringBuffer descBuf)

Implements org.apache.poi.ss.format.CellFormatPart.PartHandler.handlePart.

Annotations
@Override
isDigitFmtback to summary
private static boolean isDigitFmt(CellNumberFormatter.Special s)
isImproperFractionback to summary
public boolean isImproperFraction()
previousNumberback to summary
private CellNumberFormatter.Special previousNumber()