TxtLoadStyleStrategy
Inheritance: java.lang.Object
public final class TxtLoadStyleStrategy
Specifies how to apply style for parsed values when converting string value to number or datetime.
Fields
Field | Description |
---|---|
BUILT_IN | Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values. |
EXACT_FORMAT | Set the exact custom format for the parsed value to make the formatted value be same with the original input one. |
NONE | Does not set style for the parsed value. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
BUILT_IN
public static final int BUILT_IN
Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values.
Remarks
When ms excel parsing datetime or numeric values according to user’s input(such as CSV file), the formatting of those values may be changed, such as leading/tailing zeros of number, year/month/day order of datetime, …etc. This type is for simulating ms excel’s behavior.
EXACT_FORMAT
public static final int EXACT_FORMAT
Set the exact custom format for the parsed value to make the formatted value be same with the original input one.
NONE
public static final int NONE
Does not set style for the parsed value.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |