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 StringThe encoding used to read the XML files.private intThe number of spaces expected for indentation.private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FormatFileSetgetDefault(File baseDir, String encoding, int indentSize) intvoidsetEncoding(String encoding) voidsetIndentSize(int indentSize) Methods inherited from class org.apache.maven.model.FileSet
clone, getDirectory, setDirectory, toStringMethods 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)
-