Package net.handle.apps.simple
Class LocalInfoConverter
- java.lang.Object
-
- net.handle.apps.simple.LocalInfoConverter
-
public class LocalInfoConverter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocalInfoConverter.LocalInfoEntry
-
Constructor Summary
Constructors Constructor Description LocalInfoConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,SiteInfo[]>
convertFromJson(java.lang.String json)
static void
convertToBin(java.lang.String json, java.io.OutputStream out)
static void
convertToJson(byte[] bytes, java.io.OutputStream out)
static java.lang.String
convertToJson(java.util.List<LocalInfoConverter.LocalInfoEntry> localInfo)
static java.lang.String
convertToJson(java.util.Map<java.lang.String,SiteInfo[]> localInfo)
static void
main(java.lang.String[] args)
-
-
-
Method Detail
-
convertFromJson
public static java.util.Map<java.lang.String,SiteInfo[]> convertFromJson(java.lang.String json)
-
convertToJson
public static java.lang.String convertToJson(java.util.List<LocalInfoConverter.LocalInfoEntry> localInfo)
-
convertToJson
public static java.lang.String convertToJson(java.util.Map<java.lang.String,SiteInfo[]> localInfo)
-
convertToJson
public static void convertToJson(byte[] bytes, java.io.OutputStream out) throws HandleException, java.io.IOException
- Throws:
HandleException
java.io.IOException
-
convertToBin
public static void convertToBin(java.lang.String json, java.io.OutputStream out) throws HandleException, java.io.IOException
- Throws:
HandleException
java.io.IOException
-
main
public static void main(java.lang.String[] args)
-
-