public class GeppettoProjectZipper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static Log |
logger |
Constructor and Description |
---|
GeppettoProjectZipper() |
Modifier and Type | Method and Description |
---|---|
void |
cleanJsonObject(JsonObject object) |
java.lang.String |
getRelativePath(java.lang.String fullPath)
Makes a fullpath become a relativve path
|
java.io.File |
writeIGeppettoProjectToJson(IGeppettoProject geppettoProject,
java.io.File dir,
Zipper zipper,
java.lang.String urlBase)
Clones a Geppetto Project Object and writes it in JSON format to a temporary file
|
public java.io.File writeIGeppettoProjectToJson(IGeppettoProject geppettoProject, java.io.File dir, Zipper zipper, java.lang.String urlBase) throws JSONException, java.io.IOException
geppettoProject
- dir
- zipper
- JSONException
java.io.IOException
public void cleanJsonObject(JsonObject object)
public java.lang.String getRelativePath(java.lang.String fullPath)
fullPath
-