
fitnesse.slim.protocol.SlimSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
The newest version!
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.slim.protocol;
import fitnesse.slim.SlimVersion;
import java.util.List;
/**
* Packs up a list into a serialized string using a special format. The list items must be strings, or lists.
* They will be recursively serialized.
*
* Format: [iiiiii:llllll:item...]
* All lists (including lists within lists) begin with [ and end with ]. After the [ is the 6 digit number of items
* in the list followed by a :. Then comes each item which is composed of a 6 digit length a : and then the value
* of the item followed by a :.
*/
public class SlimSerializer {
private StringBuilder result;
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy