public class WarInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
REVISION  | 
| Constructor and Description | 
|---|
WarInfo(java.io.File warFile)
Create a new WarInfo from the specified warFile. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup()
Cleanup any temporary file from the file system 
 | 
protected void | 
finalize()  | 
java.lang.String | 
getOriginalSignature(java.lang.String relativeFilePath)
Retrieve the original signature of the specified file as
 available in the signature.xml file of this webapp. 
 | 
java.lang.String | 
toString()  | 
public static final java.lang.String REVISION
public WarInfo(java.io.File warFile)
        throws java.lang.Exception
 If the specified warFile is a file (vs a directory) it
 will immediately be unzipped in a temporary directory.
 You can later cleanup all temporary data using cleanup()
warFile - a jcms war File or a path to a JCMS webapp directoryjava.lang.Exception - if the specified file could not be unzipped or if it is not a JCMS webapp.public java.lang.String getOriginalSignature(java.lang.String relativeFilePath)
relativeFilePath - a relative path eg types/Article/doArticleFullDisplay.jsppublic void cleanup()
protected void finalize()
                 throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 Jalios SA. All Rights Reserved.