Package com.yworks.yguard.ant
Class SourceFileSection
- java.lang.Object
-
- com.yworks.yguard.ant.PatternMatchedClassesSection
-
- com.yworks.yguard.ant.SourceFileSection
-
- All Implemented Interfaces:
Mappable
public class SourceFileSection extends PatternMatchedClassesSection implements Mappable
Used by ant to handle theattributeselement.
-
-
Field Summary
Fields Modifier and Type Field Description protected YGuardBaseTaskobfuscatorTask-
Fields inherited from class com.yworks.yguard.ant.PatternMatchedClassesSection
allowMatchAllPatternSet, patternSets, properties
-
-
Constructor Summary
Constructors Constructor Description SourceFileSection(YGuardBaseTask obfuscatorTask)Instantiates a new Source file section.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntries(java.util.Collection entries, java.lang.String className)Add entries.voidaddMapEntries(java.util.Collection entries)Add map entries.-
Methods inherited from class com.yworks.yguard.ant.PatternMatchedClassesSection
addConfiguredPatternSet, addConfiguredProperty, addEntries, getPatternSets
-
-
-
-
Field Detail
-
obfuscatorTask
protected final YGuardBaseTask obfuscatorTask
-
-
Constructor Detail
-
SourceFileSection
public SourceFileSection(YGuardBaseTask obfuscatorTask)
Instantiates a new Source file section.- Parameters:
obfuscatorTask- the obfuscator task
-
-
Method Detail
-
addEntries
public void addEntries(java.util.Collection entries, java.lang.String className)Description copied from class:PatternMatchedClassesSectionAdd entries.- Specified by:
addEntriesin classPatternMatchedClassesSection- Parameters:
entries- the entriesclassName- the matched class
-
addMapEntries
public void addMapEntries(java.util.Collection entries)
Description copied from interface:MappableAdd map entries.- Specified by:
addMapEntriesin interfaceMappable- Parameters:
entries- the entries
-
-