Class 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.ZipFileSet
    Used by ant to handle the adjust element.
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.types.ArchiveFileSet

        DEFAULT_DIR_MODE, DEFAULT_FILE_MODE
      • Fields inherited from class org.apache.tools.ant.types.DataType

        checked, ref
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      AdjustSection()
      Instantiates a new Adjust section.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.String name)
      Contains boolean.
      void createEntries​(java.util.Collection srcJars)
      Create entries.
      boolean getReplaceContent()
      Gets replace content.
      java.lang.String getReplaceContentSeparator()
      Gets replace content separator.
      boolean getReplaceName()
      Gets replace name.
      boolean getReplacePath()
      Gets replace path.
      void setReplaceContent​(boolean rc)
      Set replace content.
      void setReplaceContentSeparator​(java.lang.String separator)
      Sets replace content separator.
      void setReplaceName​(boolean rn)
      Set replace name.
      void setReplacePath​(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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
      • Methods inherited from interface org.apache.tools.ant.types.ResourceCollection

        isEmpty, stream
    • Constructor Detail

      • AdjustSection

        public AdjustSection()
        Instantiates a new Adjust section.
    • 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.IOException
        Create entries.
        Parameters:
        srcJars - the src jars
        Throws:
        java.io.IOException - the io exception