Package org.codehaus.mojo.xml.format
Class FormatFileSet
java.lang.Object
org.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
org.codehaus.mojo.xml.format.FormatFileSet
- All Implemented Interfaces:
Serializable
,Cloneable
,org.apache.maven.model.InputLocationTracker
public class FormatFileSet
extends org.apache.maven.model.FileSet
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The encoding used to read the XML files.private int
The number of spaces expected for indentation.private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatFileSet
getDefault
(File baseDir, String encoding, int indentSize) int
void
setEncoding
(String encoding) void
setIndentSize
(int indentSize) Methods inherited from class org.apache.maven.model.FileSet
clone, getDirectory, setDirectory, toString
Methods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, getLocation, removeExclude, removeInclude, setExcludes, setIncludes, setLocation, setOtherLocation
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
DEFAULT_INCLUDED_EXTENSIONS
-
DEFAULT_EXCLUDES
-
encoding
The encoding used to read the XML files. -
indentSize
private int indentSizeThe number of spaces expected for indentation.
-
-
Constructor Details
-
FormatFileSet
public FormatFileSet()
-
-
Method Details
-
getDefault
-
getIndentSize
public int getIndentSize()- Returns:
- the number of spaces for indentation
-
getEncoding
- Returns:
- the encoding used to read the XML files
-
setEncoding
-
setIndentSize
public void setIndentSize(int indentSize)
-