All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.ICustomParser.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





ICustomParser




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 corresponding to the parsed value by 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 corresponding to the parsed value by last invocation of parseObject(java.lang.String). The returned formatting pattern may be used to format corresponding cell(set to Style.Custom for the cell).

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy