Package rs.baselib.php
Class PhpSerializer
java.lang.Object
rs.baselib.php.PhpSerializer
public class PhpSerializer
extends java.lang.Object
Serializes Java objects in a PHP serializer format string.
Implementation based on pherialize by Klaus Reimer: https://github.com/kayahr/pherialize/blob/master
- Since:
- 1.2.6
- Author:
- ralph
-
Constructor Summary
Constructors Constructor Description PhpSerializer() -
Method Summary
Modifier and Type Method Description static java.lang.Stringserialize(java.lang.Object object)Serializes the specified object.
-
Constructor Details
-
PhpSerializer
public PhpSerializer()
-
-
Method Details
-
serialize
public static java.lang.String serialize(java.lang.Object object)Serializes the specified object.- Parameters:
object- object to serialize- Returns:
- The serialized data
- Since:
- 1.2.6
-