public class PackerJs extends Object
3.1 utility from base2 project: ://code.google.com/p/base2/.| Constructor and Description |
|---|
PackerJs() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildPackScript(String data) |
protected InputStream |
getStreamForBase2()
Override this method if you have a newer version of base2.js file.
|
protected InputStream |
getStreamForPacker()
Override this method if you have a newer version of packer.js file.
|
String |
pack(String data) |
protected InputStream getStreamForBase2()
protected InputStream getStreamForPacker()
public String pack(String data) throws IOException
data - js content to process.IOExceptionCopyright © 2008-2013. All Rights Reserved.