public class UnpackOptions extends Object implements Serializable
| Constructor and Description |
|---|
UnpackOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(String string)
Method addExclude.
|
void |
addInclude(String string)
Method addInclude.
|
String |
getEncoding()
Get allows to specify the encoding to use when unpacking
archives, for unarchivers
that support specifying encoding.
|
List<String> |
getExcludes()
Method getExcludes.
|
List<String> |
getIncludes()
Method getIncludes.
|
String |
getLineEnding()
Get sets the line-endings of the files.
|
boolean |
isFiltered()
Get whether to filter symbols in the files as they are
unpacked from the archive, using
properties from the build configuration.
|
boolean |
isUseDefaultExcludes()
Get whether standard exclusion patterns, such as those
matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
void |
removeExclude(String string)
Method removeExclude.
|
void |
removeInclude(String string)
Method removeInclude.
|
void |
setEncoding(String encoding)
Set allows to specify the encoding to use when unpacking
archives, for unarchivers
that support specifying encoding.
|
void |
setExcludes(List<String> excludes)
Set set of file and/or directory patterns for matching items
to be excluded from an archive as it is unpacked.
|
void |
setFiltered(boolean filtered)
Set whether to filter symbols in the files as they are
unpacked from the archive, using
properties from the build configuration.
|
void |
setIncludes(List<String> includes)
Set set of file and/or directory patterns for matching items
to be included from an archive as it is unpacked.
|
void |
setLineEnding(String lineEnding)
Set sets the line-endings of the files.
|
void |
setUseDefaultExcludes(boolean useDefaultExcludes)
Set whether standard exclusion patterns, such as those
matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
public void addExclude(String string)
string - public void addInclude(String string)
string - public String getEncoding()
public String getLineEnding()
public boolean isFiltered()
public boolean isUseDefaultExcludes()
public void removeExclude(String string)
string - public void removeInclude(String string)
string - public void setEncoding(String encoding)
encoding - public void setExcludes(List<String> excludes)
excludes - public void setFiltered(boolean filtered)
filtered - public void setIncludes(List<String> includes)
includes - public void setLineEnding(String lineEnding)
lineEnding - public void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes - Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.