com.aspose.cells
Interface ICustomParser


public interface ICustomParser 

Allows users to add their custom value parser for parsing string values to other proper cell value object.

Method Summary
abstract java.lang.StringgetFormat()
           Gets the formatting pattern for last invocation of parseObject(java.lang.String).
abstract java.lang.ObjectparseObject(java.lang.String value)
           Parses given string to proper value object.
 

Method Detail

parseObject

public abstract java.lang.Object parseObject(java.lang.String value)
Parses given string to proper value object.
Parameters:
value - The string value to be parsed
Returns:
Parsed value object from given string. If given string cannot be parsed to proper value object, returns null.

getFormat

public abstract java.lang.String getFormat()
Gets the formatting pattern for last invocation of parseObject(java.lang.String). The formatting pattern should be like Style.Custom and may be used for formatting corresponding cell.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.