com.jp.protection.priv
Class DigestBuilder
java.lang.Object
com.jp.protection.priv.DigestBuilder
- Direct Known Subclasses:
- DigestBuilderPro
public class DigestBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fProduct
protected Product fProduct
fCRCHost
protected DigestBuilder.IntegrityHostExt fCRCHost
fEntryZipFileMap
protected java.util.HashMap fEntryZipFileMap
fCRCBuilderListeners
transient java.util.Vector fCRCBuilderListeners
DigestBuilder
public DigestBuilder(Product aProduct)
getProduct
public Product getProduct()
getTargetName
public java.lang.String getTargetName(DigestBuildConfig aBuildConfig,
java.lang.String aTargetName)
getCRCHost
protected DigestBuilder.IntegrityHostExt getCRCHost()
applyBuildConfig
protected java.util.List applyBuildConfig(java.util.List aCRCEntries,
DigestBuildConfig aBuildConfig)
releaseBuildDigestResources
protected void releaseBuildDigestResources()
throws java.io.IOException
- Throws:
java.io.IOException
error
protected void error(java.lang.Throwable ex)
getZipFile
protected java.util.zip.ZipFile getZipFile(DigestEntryBase aCRCEntry)
throws java.io.IOException
- Throws:
java.io.IOException
build
public byte[] build(DigestBuildConfig aBuildConfig)
throws java.io.IOException
- Throws:
java.io.IOException
build
public byte[] build(DigestBuildConfig aBuildConfig,
java.lang.String aTarget)
throws java.io.IOException
- Throws:
java.io.IOException
buildDigest
public byte[] buildDigest(DigestBuildConfig aBuildConfig)
throws java.io.IOException
- Throws:
java.io.IOException
buildDigestImpl
protected boolean buildDigestImpl(DigestBuildConfig aBuildConfig)
throws java.io.IOException
- Throws:
java.io.IOException
getObfuscatedName
protected java.lang.String getObfuscatedName(java.lang.String aName,
DigestBuildConfig aBuildConfig)
buildJar
protected boolean buildJar(DigestBuilder.IntegrityHostExt aCRCHost,
DigestEntryBase aCRCEntry,
DigestBuildConfig aBuildConfig)
throws java.io.IOException
- Throws:
java.io.IOException
buildFile
protected boolean buildFile(DigestBuilder.IntegrityHostExt aCRCHost,
DigestEntryBase aCRCEntry)
addDigestBuilderListener
public void addDigestBuilderListener(DigestBuilderListener l)
removeDigestBuilderListener
public void removeDigestBuilderListener(DigestBuilderListener l)
fireBuildStarted
protected void fireBuildStarted(DigestBuildConfig aBuildConfig)
fireBuildFinished
protected void fireBuildFinished(DigestBuildConfig aBuildConfig,
boolean isSuccess)
fireOnError
protected void fireOnError(java.lang.String aMessage)
fireOnError
protected void fireOnError(java.lang.Throwable anException)