public class UnpackOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
encoding
Allows to specify the encoding to use when
unpacking archives, for unarchivers
that support specifying encoding.
|
private java.util.List<java.lang.String> |
excludes
Field excludes.
|
private boolean |
filtered
Whether to filter symbols in the files as they are
unpacked from the archive, using
properties from the build configuration.
|
private java.util.List<java.lang.String> |
includes
Field includes.
|
private java.lang.String |
lineEnding
Sets the line-endings of the files.
|
private boolean |
useDefaultExcludes
Whether standard exclusion patterns, such as
those matching CVS and Subversion
metadata files, should be used when calculating
the files affected by this set.
|
Constructor and Description |
---|
UnpackOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(java.lang.String string)
Method addExclude.
|
void |
addInclude(java.lang.String string)
Method addInclude.
|
java.lang.String |
getEncoding()
Get allows to specify the encoding to use when unpacking
archives, for unarchivers
that support specifying encoding.
|
java.util.List<java.lang.String> |
getExcludes()
Method getExcludes.
|
java.util.List<java.lang.String> |
getIncludes()
Method getIncludes.
|
java.lang.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(java.lang.String string)
Method removeExclude.
|
void |
removeInclude(java.lang.String string)
Method removeInclude.
|
void |
setEncoding(java.lang.String encoding)
Set allows to specify the encoding to use when unpacking
archives, for unarchivers
that support specifying encoding.
|
void |
setExcludes(java.util.List<java.lang.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(java.util.List<java.lang.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(java.lang.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.
|
private java.util.List<java.lang.String> includes
private java.util.List<java.lang.String> excludes
private boolean filtered
private java.lang.String lineEnding
private boolean useDefaultExcludes
private java.lang.String encoding
public void addExclude(java.lang.String string)
string
- public void addInclude(java.lang.String string)
string
- public java.lang.String getEncoding()
public java.util.List<java.lang.String> getExcludes()
public java.util.List<java.lang.String> getIncludes()
public java.lang.String getLineEnding()
public boolean isFiltered()
public boolean isUseDefaultExcludes()
public void removeExclude(java.lang.String string)
string
- public void removeInclude(java.lang.String string)
string
- public void setEncoding(java.lang.String encoding)
encoding
- public void setExcludes(java.util.List<java.lang.String> excludes)
excludes
- public void setFiltered(boolean filtered)
filtered
- public void setIncludes(java.util.List<java.lang.String> includes)
includes
- public void setLineEnding(java.lang.String lineEnding)
lineEnding
- public void setUseDefaultExcludes(boolean useDefaultExcludes)
useDefaultExcludes
-