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
- Author:
- Peter Palaga
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
DEFAULT_EXCLUDES
-
Constructor Summary
Constructors Constructor Description FormatFileSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormatFileSet
getDefault(File baseDir, String encoding, int indentSize)
String
getEncoding()
int
getIndentSize()
void
setEncoding(String encoding)
void
setIndentSize(int indentSize)
-
Methods inherited from class org.apache.maven.model.FileSet
clone, getDirectory, setDirectory, toString
-
-
-
-
Method Detail
-
getDefault
public static FormatFileSet getDefault(File baseDir, String encoding, int indentSize)
-
getIndentSize
public int getIndentSize()
- Returns:
- the number of spaces for indentation
-
getEncoding
public String getEncoding()
- Returns:
- the encoding used to read the XML files
-
setEncoding
public void setEncoding(String encoding)
-
setIndentSize
public void setIndentSize(int indentSize)
-
-