public class IlvSerializableUtil extends Object
IlvSerializableUtil
class consists of static methods
that are of use when working with java serialization.
This class provides static methods that impact the way java object
are serialized relating to the float to double API changes.
The JViews Classes concerned are:
- IlvPoint
- IlvRect
- IlvDashboardWriter
- IlvDashboardReader
- IlvLinearGradientPaint
The double/float property read/write modes are linked to System Properties
- jviews.serialize.double
- jviews.serialize.double.read
- jviews.serialize.double.write
Constructor and Description |
---|
IlvSerializableUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getDoubleSerializable()
Return the Double Serializable mode
either set via the
setDoubleSerializable(Boolean)
or the System Property jviews.serialize.double |
static Boolean |
getDoubleSerializableRead()
Return the Double Serialization Read mode
either set via the
setDoubleSerializableRead(Boolean)
or by the System Property jviews.serialize.double.read
or returns the result of getDoubleSerializable() |
static Boolean |
getDoubleSerializableWrite()
Return the Double Serialization Write mode
either set via the
setDoubleSerializableWrite(Boolean)
or by the System Property jviews.serialize.double.write
or returns the result of getDoubleSerializable() |
static void |
setDoubleSerializable(Boolean doubleSerializable)
Sets the Double Serialization mode
-
true force java object serialization read and write to double
- false force java object serialization read and write to float
- null reset java object serialization read and write mode to the value of System Property jviews.serialize.double |
static void |
setDoubleSerializableRead(Boolean doubleSerializableRead)
Sets the Double Serialization Read mode
-
true force java object serialization read to double
- false force java object serialization read to float
- null reset the java object serialization read mode |
static void |
setDoubleSerializableWrite(Boolean doubleSerializableWrite)
Sets the Double Serialization Write mode
-
true force java object serialization write to double
- false force java object serialization write to float
- null reset the java object serialization write mode |
public static boolean getDoubleSerializable()
setDoubleSerializable(Boolean)
or the System Property jviews.serialize.double
setDoubleSerializable(Boolean)
public static void setDoubleSerializable(Boolean doubleSerializable)
true
force java object serialization read and write to double
- false
force java object serialization read and write to float
- null
reset java object serialization read and write mode to the value of System Property jviews.serialize.double
doubleSerializable
- the Boolean Object Serialization modegetDoubleSerializable()
public static Boolean getDoubleSerializableWrite()
setDoubleSerializableWrite(Boolean)
or by the System Property jviews.serialize.double.write
or returns the result of getDoubleSerializable()
setDoubleSerializableWrite(Boolean)
,
getDoubleSerializable()
public static void setDoubleSerializableWrite(Boolean doubleSerializableWrite)
true
force java object serialization write to double
- false
force java object serialization write to float
- null
reset the java object serialization write modedoubleSerializableWrite
- the Boolean Object Serialization Write modegetDoubleSerializableWrite()
,
getDoubleSerializable()
public static Boolean getDoubleSerializableRead()
setDoubleSerializableRead(Boolean)
or by the System Property jviews.serialize.double.read
or returns the result of getDoubleSerializable()
setDoubleSerializableRead(Boolean)
,
getDoubleSerializable()
public static void setDoubleSerializableRead(Boolean doubleSerializableRead)
true
force java object serialization read to double
- false
force java object serialization read to float
- null
reset the java object serialization read modedoubleSerializableRead
- the Boolean Object Serialization Read modegetDoubleSerializableRead()
,
getDoubleSerializable()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.