public class M2XML extends Object
Constructor and Description |
---|
M2XML() |
Modifier and Type | Method and Description |
---|---|
static Boolean |
deserialiseBoolean(String booleanString) |
static Date |
deserialiseDate(String date)
Convert XML date (of the form yyyy-MM-dd) to Date
|
static String |
serialiseBoolean(Boolean bool) |
static String |
serialiseDate(Date date)
Convert date to XML date (of the form yyyy-MM-dd)
|
public static Date deserialiseDate(String date) throws ParseException
date
- the xml representation of the dateParseException
public static String serialiseDate(Date date)
date
- the datepublic static Boolean deserialiseBoolean(String booleanString) throws ParseException
ParseException
Copyright © 2005–2016 Alfresco Software. All rights reserved.