Package com.ilib.tools.zic
Class JsonZoneWriter
- java.lang.Object
-
- com.ilib.tools.zic.ZoneWriter
-
- com.ilib.tools.zic.JsonZoneWriter
-
public class JsonZoneWriter extends ZoneWriter
JsonZoneWriter
-
-
Constructor Summary
Constructors Constructor Description JsonZoneWriter(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeZone(java.lang.String zoneName, org.json.JSONObject json)
void
writeZones(java.util.HashMap<java.lang.String,Zone> zones, boolean currentOnly)
-
Methods inherited from class com.ilib.tools.zic.ZoneWriter
getInstance
-
-
-
-
Method Detail
-
writeZone
public void writeZone(java.lang.String zoneName, org.json.JSONObject json) throws java.lang.Exception
- Parameters:
zoneName
-json
-- Throws:
java.lang.Exception
-
writeZones
public void writeZones(java.util.HashMap<java.lang.String,Zone> zones, boolean currentOnly) throws java.lang.Exception
- Specified by:
writeZones
in classZoneWriter
- Throws:
java.lang.Exception
-
-