public class ClassPathEntry
extends java.lang.Object
| Constructor and Description |
|---|
ClassPathEntry(java.io.File file,
boolean isOutput)
Creates a new ClassPathEntry with the given file and output flag.
|
ClassPathEntry(java.io.File file,
boolean isOutput,
java.lang.String featureName)
Creates a new ClassPathEntry with the given file, output flag,
and optional feature name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getAabFilter()
Returns the name filter that is applied to aab files in this entry, if any.
|
java.util.List |
getAarFilter()
Returns the name filter that is applied to aar files in this entry, if any.
|
java.util.List |
getApkFilter()
Returns the name filter that is applied to apk files in this entry, if any.
|
java.util.List |
getEarFilter()
Returns the name filter that is applied to ear files in this entry, if any.
|
java.lang.String |
getFeatureName()
Returns the feature name.
|
java.io.File |
getFile()
Returns the file.
|
java.util.List |
getFilter()
Returns the name filter that is applied to bottom-level files in this entry.
|
java.util.List |
getJarFilter()
Returns the name filter that is applied to jar files in this entry, if any.
|
java.util.List |
getJmodFilter()
Returns the name filter that is applied to jmod files in this entry, if any.
|
java.lang.String |
getName()
Returns the path name of the entry.
|
java.util.List |
getWarFilter()
Returns the name filter that is applied to war files in this entry, if any.
|
java.util.List |
getZipFilter()
Returns the name filter that is applied to zip files in this entry, if any.
|
boolean |
isAab()
Returns whether this data entry is an aab file.
|
boolean |
isAar()
Returns whether this data entry is an aar file.
|
boolean |
isApk()
Returns whether this data entry is an apk file.
|
boolean |
isDex()
Returns whether this data entry is a dex file.
|
boolean |
isEar()
Returns whether this data entry is a ear file.
|
boolean |
isFiltered()
Returns whether this data entry has any kind of filter.
|
boolean |
isJar()
Returns whether this data entry is a jar file.
|
boolean |
isJmod()
Returns whether this data entry is a jmod file.
|
boolean |
isOutput()
Returns whether this data entry is an output entry.
|
boolean |
isWar()
Returns whether this data entry is a war file.
|
boolean |
isZip()
Returns whether this data entry is a zip file.
|
void |
setAabFilter(java.util.List filter)
Sets the name filter that is applied to aab files in this entry, if any.
|
void |
setAarFilter(java.util.List filter)
Sets the name filter that is applied to aar files in this entry, if any.
|
void |
setApkFilter(java.util.List filter)
Sets the name filter that is applied to apk files in this entry, if any.
|
void |
setEarFilter(java.util.List filter)
Sets the name filter that is applied to ear files in this entry, if any.
|
void |
setFeatureName(java.lang.String featureName)
Sets the feature name.
|
void |
setFile(java.io.File file)
Sets the file.
|
void |
setFilter(java.util.List filter)
Sets the name filter that is applied to bottom-level files in this entry.
|
void |
setJarFilter(java.util.List filter)
Sets the name filter that is applied to jar files in this entry, if any.
|
void |
setJmodFilter(java.util.List filter)
Sets the name filter that is applied to jmod files in this entry, if any.
|
void |
setOutput(boolean output)
Specifies whether this data entry is an output entry.
|
void |
setWarFilter(java.util.List filter)
Sets the name filter that is applied to war files in this entry, if any.
|
void |
setZipFilter(java.util.List filter)
Sets the name filter that is applied to zip files in this entry, if any.
|
java.lang.String |
toString() |
public ClassPathEntry(java.io.File file,
boolean isOutput)
public ClassPathEntry(java.io.File file,
boolean isOutput,
java.lang.String featureName)
public java.lang.String getName()
public java.io.File getFile()
public void setFile(java.io.File file)
public boolean isOutput()
public void setOutput(boolean output)
public java.lang.String getFeatureName()
public void setFeatureName(java.lang.String featureName)
public boolean isDex()
public boolean isApk()
public boolean isAab()
public boolean isJar()
public boolean isAar()
public boolean isWar()
public boolean isEar()
public boolean isJmod()
public boolean isZip()
public boolean isFiltered()
public java.util.List getFilter()
public void setFilter(java.util.List filter)
public java.util.List getApkFilter()
public void setApkFilter(java.util.List filter)
public java.util.List getAabFilter()
public void setAabFilter(java.util.List filter)
public java.util.List getJarFilter()
public void setJarFilter(java.util.List filter)
public java.util.List getAarFilter()
public void setAarFilter(java.util.List filter)
public java.util.List getWarFilter()
public void setWarFilter(java.util.List filter)
public java.util.List getEarFilter()
public void setEarFilter(java.util.List filter)
public java.util.List getJmodFilter()
public void setJmodFilter(java.util.List filter)
public java.util.List getZipFilter()
public void setZipFilter(java.util.List filter)
public java.lang.String toString()
toString in class java.lang.Object