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
An extension of FileSet that adds getEncoding() and getIndentSize() fields.
Author:
Peter Palaga
See Also:
  • Field Details

    • DEFAULT_EXCLUDES

      public static final List<String> DEFAULT_EXCLUDES
  • Constructor Details

    • FormatFileSet

      public FormatFileSet()
  • Method Details

    • 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)