Package com.yworks.yguard
Class ObfuscatorTask.AdjustSection
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- org.apache.tools.ant.types.AbstractFileSet
-
- org.apache.tools.ant.types.FileSet
-
- org.apache.tools.ant.types.ArchiveFileSet
-
- org.apache.tools.ant.types.ZipFileSet
-
- com.yworks.yguard.ObfuscatorTask.AdjustSection
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<org.apache.tools.ant.types.Resource>,org.apache.tools.ant.types.ResourceCollection,org.apache.tools.ant.types.selectors.SelectorContainer
- Enclosing class:
- ObfuscatorTask
public class ObfuscatorTask.AdjustSection extends org.apache.tools.ant.types.ZipFileSetUsed by ant to handle theadjustelement.
-
-
Constructor Summary
Constructors Constructor Description AdjustSection()Instantiates a new Adjust section.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(java.lang.String name)Contains boolean.voidcreateEntries(java.util.Collection srcJars)Create entries.booleangetReplaceContent()Gets replace content.java.lang.StringgetReplaceContentSeparator()Gets replace content separator.booleangetReplaceName()Gets replace name.booleangetReplacePath()Gets replace path.voidsetReplaceContent(boolean rc)Set replace content.voidsetReplaceContentSeparator(java.lang.String separator)Sets replace content separator.voidsetReplaceName(boolean rn)Set replace name.voidsetReplacePath(boolean rp)Set replace path.-
Methods inherited from class org.apache.tools.ant.types.ZipFileSet
clone, getRef, getRef, newArchiveScanner
-
Methods inherited from class org.apache.tools.ant.types.ArchiveFileSet
addConfigured, configureFileSet, dieOnCircularReference, getDirectoryScanner, getDirMode, getDirMode, getEncoding, getFileMode, getFileMode, getFullpath, getFullpath, getPrefix, getPrefix, getSrc, getSrc, hasDirModeBeenSet, hasFileModeBeenSet, integerSetDirMode, integerSetFileMode, isFilesystemOnly, iterator, setDir, setDirMode, setEncoding, setErrorOnMissingArchive, setFileMode, setFullpath, setPrefix, setSrc, setSrcResource, size, toString
-
Methods inherited from class org.apache.tools.ant.types.AbstractFileSet
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPosixGroup, addPosixPermissions, addPresent, addReadable, addSelector, addSize, addSymlink, addType, addWritable, appendExcludes, appendIncludes, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getErrorOnMissingDir, getMaxLevelsOfSymlinks, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setErrorOnMissingDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setMaxLevelsOfSymlinks, setRefid, setupDirectoryScanner, setupDirectoryScanner
-
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
-
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
-
-
-
Method Detail
-
contains
public boolean contains(java.lang.String name)
Contains boolean.- Parameters:
name- the name- Returns:
- the boolean
-
setReplaceContent
public void setReplaceContent(boolean rc)
Set replace content.- Parameters:
rc- the rc
-
getReplaceContent
public boolean getReplaceContent()
Gets replace content.- Returns:
- the replace content
-
setReplaceContentSeparator
public void setReplaceContentSeparator(java.lang.String separator)
Sets replace content separator.- Parameters:
separator- the separator
-
getReplaceContentSeparator
public java.lang.String getReplaceContentSeparator()
Gets replace content separator.- Returns:
- the replace content separator
-
setReplacePath
public void setReplacePath(boolean rp)
Set replace path.- Parameters:
rp- the rp
-
getReplacePath
public boolean getReplacePath()
Gets replace path.- Returns:
- the replace path
-
getReplaceName
public boolean getReplaceName()
Gets replace name.- Returns:
- the replace name
-
setReplaceName
public void setReplaceName(boolean rn)
Set replace name.- Parameters:
rn- the rn
-
createEntries
public void createEntries(java.util.Collection srcJars) throws java.io.IOExceptionCreate entries.- Parameters:
srcJars- the src jars- Throws:
java.io.IOException- the io exception
-
-