public class PluginZIP extends BasePOJO
Constructor and Description |
---|
PluginZIP(java.lang.String pPluginZipFileName,
java.io.InputStream pInputStream) |
PluginZIP(java.lang.String pPluginZipFileName,
java.util.List<java.lang.String> pEncodedStrings) |
PluginZIP(java.lang.String pPluginZipFileName,
java.util.Map<java.lang.Integer,java.lang.String> pEncodedStringsMap) |
Modifier and Type | Method and Description |
---|---|
PluginDefinition |
getPluginDefinition() |
java.lang.String |
getPluginDirectory() |
static java.lang.String |
getPluginDirectory(java.lang.String pPluginName,
java.lang.String pPluginVersion) |
java.lang.String |
getPluginName() |
java.lang.String |
getPluginVersion() |
PluginXML |
getPluginXML() |
byte[] |
getPluginZipAsBytes() |
java.util.List<java.lang.String> |
getPluginZipAsEncodedStrings() |
java.lang.String |
getPluginZipFileName() |
java.util.List<PropertyList> |
getPropertyLists() |
boolean |
pluginExistsOnFileSystem()
Check the plugin's directory and see if it exists and is not empty.
|
void |
setPluginName(java.lang.String pPluginName) |
void |
setPluginVersion(java.lang.String pPluginVersion) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
void |
writeToDirectory(java.io.File pFile) |
public PluginZIP(java.lang.String pPluginZipFileName, java.io.InputStream pInputStream)
public PluginZIP(java.lang.String pPluginZipFileName, java.util.List<java.lang.String> pEncodedStrings)
public PluginZIP(java.lang.String pPluginZipFileName, java.util.Map<java.lang.Integer,java.lang.String> pEncodedStringsMap)
public void setPluginName(java.lang.String pPluginName)
public java.lang.String getPluginName()
public void setPluginVersion(java.lang.String pPluginVersion)
public java.lang.String getPluginVersion()
public java.lang.String getPluginDirectory()
public static java.lang.String getPluginDirectory(java.lang.String pPluginName, java.lang.String pPluginVersion)
public boolean pluginExistsOnFileSystem()
public java.lang.String getPluginZipFileName()
public java.util.List<java.lang.String> getPluginZipAsEncodedStrings()
public byte[] getPluginZipAsBytes()
public PluginXML getPluginXML()
public PluginDefinition getPluginDefinition()
public java.util.List<PropertyList> getPropertyLists()
public void writeToDirectory(java.io.File pFile)